From 0b85ecd67fa668f07a0ce6f314696f6bb8c4b550 Mon Sep 17 00:00:00 2001 From: stan Date: Mon, 31 Jan 2005 12:08:06 +0000 Subject: [PATCH] Defined empty array to prevent warning. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1268 e3e1d417-86f3-4887-817a-d78f3d33393f --- web/zm_html_view_state.php | 1 + 1 file changed, 1 insertion(+) diff --git a/web/zm_html_view_state.php b/web/zm_html_view_state.php index 26aaa21c4..dd448a936 100644 --- a/web/zm_html_view_state.php +++ b/web/zm_html_view_state.php @@ -28,6 +28,7 @@ $running = daemonCheck(); $result = mysql_query( "select * from States" ); if ( !$result ) die( mysql_error() ); +$states = array(); while( $state = mysql_fetch_assoc( $result ) ) { $states[] = $state;