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:
parent
970f0c687c
commit
0b85ecd67f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue