From 64987d9399f2ebc238d73406782829b66e33bdae Mon Sep 17 00:00:00 2001 From: stan Date: Mon, 1 Sep 2008 14:03:01 +0000 Subject: [PATCH] Fixed incorrect assignment of empty user. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2618 e3e1d417-86f3-4887-817a-d78f3d33393f --- web/includes/actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/includes/actions.php b/web/includes/actions.php index d3b0683c9..32c49647f 100644 --- a/web/includes/actions.php +++ b/web/includes/actions.php @@ -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 );