Fix named view data passing.
This commit is contained in:
parent
fa1fa876b5
commit
26bc2379c4
|
@ -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()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue