Skip to content

Commit

Permalink
Fix check inserttag value
Browse files Browse the repository at this point in the history
  • Loading branch information
zonky2 committed Oct 12, 2020
1 parent 00c63e1 commit 67e2785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventListener/FormInsertTags.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function replaceInsertTags($varTag)
: $_SESSION['FORM_DATA'][$arrTag[1]];
}

if ($arrTag[0] == 'form_rawvalue_get') {
if ($arrTag[0] == 'form_rawvalue_get' && null !== \Input::get($arrTag[1])) {
$varValue = str_getcsv(\Input::get($arrTag[1]), ",");

return is_array($varValue) ? serialize($varValue) : $varValue;
Expand Down

0 comments on commit 67e2785

Please sign in to comment.