Fixed incorrect assignment of empty user.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2618 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
2133e94945
commit
64987d9399
|
@ -1401,7 +1401,7 @@ if ( !empty($_REQUEST['action']) )
|
|||
if ( !empty($_REQUEST['uid']) )
|
||||
$dbUser = dbFetchOne( "select * from Users where Id = '".dbEscape($_REQUEST['uid'])."'" );
|
||||
else
|
||||
$zone = array();
|
||||
$dbUser = array();
|
||||
|
||||
$types = array();
|
||||
$changes = getFormChanges( $dbUser, $_REQUEST['newUser'], $types );
|
||||
|
|
Loading…
Reference in New Issue