- Fixed a bug added in previous commit
This commit is contained in:
1 parent
5397ed4fae
commit
d984ddc540
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -26,7 +26,7 @@ class UiForm extends UiElement implements Extension {
|
||||
return "</form>";
|
||||
}
|
||||
|
||||
$opt = $context->tokenOptions($token, true);
|
||||
$opt = $context->tokenOptions($token);
|
||||
|
||||
if (in_array('get', $opt)) {
|
||||
$method = "get";
|
||||
|
||||
@@ -18,7 +18,7 @@ class UiTextarea extends UiInput {
|
||||
|
||||
public function parse(\Picea\Compiler\Context &$context, ?string $arguments, string $token) : string
|
||||
{
|
||||
$raw = in_array('raw', $context->tokenOptions($token, true)) ? 'true' : 'false';
|
||||
$raw = in_array('raw', $context->tokenOptions($token)) ? 'true' : 'false';
|
||||
|
||||
return "<?php echo ( new \\" . static::class . "() )->echoRaw($raw)->buildHtml($arguments) ?>";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user