From 26bc2379c4c689e3adf7cd752b6c807db30c3f0c Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 5 Aug 2011 11:31:12 -0500 Subject: [PATCH] Fix named view data passing. --- system/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/view.php b/system/view.php index b7195cbf..bdde377f 100644 --- a/system/view.php +++ b/system/view.php @@ -261,7 +261,7 @@ class View { { if (strpos($method, 'of_') === 0) { - return static::of(substr($method, 3), $parameters); + return static::of(substr($method, 3), Arr::get($parameters, 0, array())); } }