diff --git a/composer.json b/composer.json index f17fce7..9512201 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "authors": [ { "name": "Dave Mc Nicoll", - "email": "mcndave@gmail.com" + "email": "info@mcnd.ca" } ], "require": { diff --git a/src/Form/UiForm.php b/src/Form/UiForm.php index 337d5fb..f4cca7c 100644 --- a/src/Form/UiForm.php +++ b/src/Form/UiForm.php @@ -26,7 +26,7 @@ class UiForm extends UiElement implements Extension { return ""; } - $opt = $context->tokenOptions($token, true); + $opt = $context->tokenOptions($token); if (in_array('get', $opt)) { $method = "get"; diff --git a/src/Form/UiTextarea.php b/src/Form/UiTextarea.php index 34d231b..0c08a9f 100644 --- a/src/Form/UiTextarea.php +++ b/src/Form/UiTextarea.php @@ -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 "echoRaw($raw)->buildHtml($arguments) ?>"; }