mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
first check if $_GER[form] is set
This commit is contained in:
parent
48dc573e80
commit
b5c16a24c7
|
@ -26,7 +26,10 @@ include("../inc/inc.DBInit.php");
|
|||
include("../inc/inc.ClassUI.php");
|
||||
include("../inc/inc.Authentication.php");
|
||||
|
||||
$form = preg_replace('/[^A-Za-z0-9_]+/', '', $_GET["form"]);
|
||||
if(isset($_GET["form"]))
|
||||
$form = preg_replace('/[^A-Za-z0-9_]+/', '', $_GET["form"]);
|
||||
else
|
||||
$form = '';
|
||||
|
||||
if(substr($settings->_dropFolderDir, -1, 1) == DIRECTORY_SEPARATOR)
|
||||
$dropfolderdir = substr($settings->_dropFolderDir, 0, -1);
|
||||
|
|
Loading…
Reference in New Issue
Block a user