fixes #1911 check url input parameter

This commit is contained in:
plegall 2023-05-05 09:53:01 +02:00
parent b9758356dc
commit 061d80b921

View file

@ -8,6 +8,8 @@
if( !defined("PHPWG_ROOT_PATH") ) die ("Hacking attempt!"); if( !defined("PHPWG_ROOT_PATH") ) die ("Hacking attempt!");
check_input_parameter('user_id', $_GET, false, PATTERN_ID);
$edit_user = build_user( $_GET['user_id'], false ); $edit_user = build_user( $_GET['user_id'], false );
if (!empty($_POST)) if (!empty($_POST))