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:
stan 2008-09-01 14:03:01 +00:00
parent 2133e94945
commit 64987d9399
1 changed files with 1 additions and 1 deletions

View File

@ -1401,7 +1401,7 @@ if ( !empty($_REQUEST['action']) )
if ( !empty($_REQUEST['uid']) ) if ( !empty($_REQUEST['uid']) )
$dbUser = dbFetchOne( "select * from Users where Id = '".dbEscape($_REQUEST['uid'])."'" ); $dbUser = dbFetchOne( "select * from Users where Id = '".dbEscape($_REQUEST['uid'])."'" );
else else
$zone = array(); $dbUser = array();
$types = array(); $types = array();
$changes = getFormChanges( $dbUser, $_REQUEST['newUser'], $types ); $changes = getFormChanges( $dbUser, $_REQUEST['newUser'], $types );