Bug 66 - Fixed 'prev' link in watch view.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2387 e3e1d417-86f3-4887-817a-d78f3d33393f
pull/27/merge
stan 2008-04-15 14:01:20 +00:00
parent d2c3591925
commit 2cba5c3ecc
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ foreach( dbFetchAll( $sql ) as $row )
//$monitor = $monitors[$mon_idx];
$next_mid = $mon_idx==(count($monitors)-1)?$monitors[0]['Id']:$monitors[$mon_idx+1]['Id'];
$prev_mid = $mon_idx==0?$mon_index[(count($monitors)-1)]['Id']:$monitors[$mon_idx-1]['Id'];
$prev_mid = $mon_idx==0?$monitors[(count($monitors)-1)]['Id']:$monitors[$mon_idx-1]['Id'];
$scale = getDeviceScale( $monitor['Width'], $monitor['Height'] );