- Fixed a bug added in previous commit

This commit is contained in:
mcndave committed 2023-02-02 18:16:28 +00:00
1 parent 5397ed4fae
commit d984ddc540
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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";
+1 -1
View File
@@ -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) ?>";
}