Fix named view data passing.

This commit is contained in:
Taylor Otwell 2011-08-05 11:31:12 -05:00
parent fa1fa876b5
commit 26bc2379c4
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ public static function __callStatic($method, $parameters)
{ {
if (strpos($method, 'of_') === 0) if (strpos($method, 'of_') === 0)
{ {
return static::of(substr($method, 3), $parameters); return static::of(substr($method, 3), Arr::get($parameters, 0, array()));
} }
} }