Bug 66 - Fixed 'prev' link in watch view.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2387 e3e1d417-86f3-4887-817a-d78f3d33393fpull/27/merge
parent
d2c3591925
commit
2cba5c3ecc
|
@ -78,7 +78,7 @@ foreach( dbFetchAll( $sql ) as $row )
|
||||||
|
|
||||||
//$monitor = $monitors[$mon_idx];
|
//$monitor = $monitors[$mon_idx];
|
||||||
$next_mid = $mon_idx==(count($monitors)-1)?$monitors[0]['Id']:$monitors[$mon_idx+1]['Id'];
|
$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'] );
|
$scale = getDeviceScale( $monitor['Width'], $monitor['Height'] );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue