diff --git a/admin/portalindex.php b/admin/portalindex.php index 0b807f253b..98249a25a7 100644 --- a/admin/portalindex.php +++ b/admin/portalindex.php @@ -6,7 +6,7 @@ if(!$SYMB_UID) header('Location: '.$CLIENT_ROOT.'/profile/index.php?refurl=../admin/portalindex.php?'.htmlspecialchars($_SERVER['QUERY_STRING'], ENT_QUOTES)); -$portalID = array_key_exists('portalid', $_REQUEST) ? filter_var($_REQUEST['portalid'], FILTER_SANITIZE_NUMBER_INT : 0; +$portalID = array_key_exists('portalid', $_REQUEST) ? filter_var($_REQUEST['portalid'], FILTER_SANITIZE_NUMBER_INT) : 0; $remoteID = array_key_exists('remoteid', $_REQUEST) ? filter_var($_REQUEST['remoteid'], FILTER_SANITIZE_NUMBER_INT) : 0; $remotePath = array_key_exists('remotePath', $_POST) ? filter_var($_POST['remotePath'], FILTER_SANITIZE_URL) : ''; $formSubmit = array_key_exists('formsubmit', $_POST) ? $_POST['formsubmit'] : ''; diff --git a/checklists/checklistadmin.php b/checklists/checklistadmin.php index 9f95cf6039..5e38bda4c6 100644 --- a/checklists/checklistadmin.php +++ b/checklists/checklistadmin.php @@ -102,8 +102,8 @@ - - + +