Fixed DB typos.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2237 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
3e65614d4d
commit
9670d8b5f6
|
@ -23,7 +23,7 @@ if ( !canEdit( 'Monitors' ) )
|
|||
$view = "error";
|
||||
return;
|
||||
}
|
||||
$sql( "select Id,Name from MonitorPresets" );
|
||||
$sql = "select Id,Name from MonitorPresets";
|
||||
$presets = array();
|
||||
$presets[0] = $zmSlangChoosePreset;
|
||||
foreach( dbFetchAll( $sql ) as $preset )
|
||||
|
|
|
@ -45,7 +45,7 @@ elseif ( ZM_OPT_CONTROL )
|
|||
}
|
||||
$sql = "select * from Monitors where Function != 'None' and Controllable = 1 $group_sql order by Sequence";
|
||||
$control_mid = 0;
|
||||
foreach( dbFetchAl( $sql ) as $row )
|
||||
foreach( dbFetchAll( $sql ) as $row )
|
||||
{
|
||||
if ( !visibleMonitor( $row['Id'] ) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue