From fb73785645873065a43490cf92ebd4e488741052 Mon Sep 17 00:00:00 2001 From: dryajov Date: Sat, 18 Jun 2016 21:08:53 -0700 Subject: [PATCH] incorrect shortcode callback invocation (cherry picked from commit c5ae587) --- Herbert/Framework/Shortcode.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Herbert/Framework/Shortcode.php b/Herbert/Framework/Shortcode.php index 25b65b4..9ae2b8b 100644 --- a/Herbert/Framework/Shortcode.php +++ b/Herbert/Framework/Shortcode.php @@ -62,10 +62,7 @@ public function add($name, $callable, $arguments = []) $response = $this->app->call( $callable, - array_merge([ - '_attributes' => $attributes, - '_content' => $content - ], $attributes) + $attributes ); if ($response instanceof RedirectResponse)