Skip to content

Commit

Permalink
no form data in the session anymore, need to get it from the Input class
Browse files Browse the repository at this point in the history
  • Loading branch information
markusmilkereit committed Mar 25, 2021
1 parent 4916558 commit a7fe789
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Hooks/InserttagsHook.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,11 @@ public function doReplace($tag, $blnCache, $strTag, $flags, $tags, $arrCache, $_
if (isset($_SESSION['FORM_DATA'][$elements[1]]))
{
$return = $_SESSION['FORM_DATA'][$elements[1]];
}
} elseif(\Input::get($elements[1])){
$return = \Input::get($elements[1]);
} else {
$return = \Input::post($elements[1]);
}
break;
}

Expand Down

0 comments on commit a7fe789

Please sign in to comment.