From 5afa02da6f44ac1cadbb88691032967d2233906b Mon Sep 17 00:00:00 2001 From: stan Date: Sun, 29 Jun 2003 21:53:20 +0000 Subject: [PATCH] Made new users enabled by default. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@581 e3e1d417-86f3-4887-817a-d78f3d33393f --- web/zm_html.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/zm_html.php b/web/zm_html.php index b46f7a2c3..238fcc9f2 100644 --- a/web/zm_html.php +++ b/web/zm_html.php @@ -578,7 +578,9 @@ function closeWindow() die( mysql_error() ); if ( !($row = mysql_fetch_assoc( $result )) ) { + $row = array(); $row[Username] = "NewUser"; + $row[Enabled] = 1; } ?>