Defined empty array to prevent warning.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1268 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2005-01-31 12:08:06 +00:00
parent 970f0c687c
commit 0b85ecd67f
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ $running = daemonCheck();
$result = mysql_query( "select * from States" ); $result = mysql_query( "select * from States" );
if ( !$result ) if ( !$result )
die( mysql_error() ); die( mysql_error() );
$states = array();
while( $state = mysql_fetch_assoc( $result ) ) while( $state = mysql_fetch_assoc( $result ) )
{ {
$states[] = $state; $states[] = $state;