Skip to content

Commit

Permalink
Merge pull request sleeping-owl#223 from st-vojak/patch-1
Browse files Browse the repository at this point in the history
Update FormItem.php
  • Loading branch information
sleeping-owl committed Sep 3, 2015
2 parents 2518651 + 1c2964f commit 8402168
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SleepingOwl/Admin/Models/Form/FormItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public static function __callStatic($method, $params)
} else
{
$formItem = App::make($handler);
$formItem->__construct(Arr::get($params, 0, null), Arr::get($params, 1, ''));
}
} else
{
Expand Down Expand Up @@ -91,4 +92,4 @@ protected static function getHandler($method)
return Arr::get(static::$handlers, $method, null);
}

}
}

0 comments on commit 8402168

Please sign in to comment.