little validation added
This commit is contained in:
@@ -4,7 +4,7 @@ $response->status = isset($_SESSION['USER_LOGGED']);
|
||||
if (isset($_REQUEST['dynaformEditorParams'])) {
|
||||
$arrayParameterAux = @unserialize(rawurldecode($_REQUEST["dynaformEditorParams"]));
|
||||
|
||||
if (is_array($arrayParameterAux)) {
|
||||
if (! empty($arrayParameterAux) && isset($arrayParameterAux["DYNAFORM_NAME"])) {
|
||||
$arrayParameterAux["DYNAFORM_NAME"] = base64_decode($arrayParameterAux["DYNAFORM_NAME"]);
|
||||
$_SESSION["Current_Dynafom"]["Parameters"] = $arrayParameterAux;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user