Test for isset(REQUEST['uid']

pull/3551/head
Isaac Connor 2022-06-01 13:34:17 -04:00 committed by Isaac Connor
parent ef8e8c70a4
commit a560d1ea64
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ if (!canEdit('System') && !$selfEdit) {
require_once('includes/User.php');
if ( $_REQUEST['uid'] ) {
if (isset($_REQUEST['uid']) and $_REQUEST['uid']) {
if ( !($newUser = new ZM\User($_REQUEST['uid'])) ) {
$view = 'error';
return;