Fixed issue with Monitor sequences.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2259 e3e1d417-86f3-4887-817a-d78f3d33393f
pull/27/merge
stan 2007-12-21 11:35:23 +00:00
parent f0e172fd38
commit 3e4496cad9
1 changed files with 2 additions and 2 deletions

View File

@ -1431,9 +1431,9 @@ function verNum( $version )
function fixSequences()
{
$sql = "select * from Monitors order by Sequence asc, Id asc";
$sequence = 1;
foreach( dbFetchAll( $monitors ) as $monitor )
$sql = "select * from Monitors order by Sequence asc, Id asc";
foreach( dbFetchAll( $sql ) as $monitor )
{
if ( $monitor['Sequence'] != $sequence )
{