- Fixed 'img' input which was missing
This commit is contained in:
parent
6aaa05b37d
commit
ea780c697e
|
@ -53,6 +53,7 @@ class Ui extends UiElement implements Extension {
|
|||
$input = new UiHidden();
|
||||
break;
|
||||
|
||||
case in_array('img', $options):
|
||||
case in_array('image', $options):
|
||||
$input = new UiImage();
|
||||
break;
|
||||
|
@ -119,7 +120,7 @@ class Ui extends UiElement implements Extension {
|
|||
}
|
||||
|
||||
if (empty($input)) {
|
||||
throw new \Exception("Missing token ? $token");
|
||||
throw new \Exception("Missing token ? $token $arguments");
|
||||
}
|
||||
|
||||
return $input->parse($context, $arguments, $token, $options);
|
||||
|
|
Loading…
Reference in New Issue