Bug 319 - Fixed bogus AlarmMaxFPS column in preset query.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1948 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2006-05-02 09:57:40 +00:00
parent 0475133a84
commit ab598e3586
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ if ( !isset( $new_monitor ) )
} }
if ( !empty($preset) ) if ( !empty($preset) )
{ {
$result = mysql_query( "select Type, Device, Channel, Format, Host, Port, Path, Width, Height, Palette, MaxFPS, AlarmMaxFPS, Controllable, ControlId, ControlDevice, ControlAddress, DefaultRate, DefaultScale from MonitorPresets where Id = '$preset'" ); $result = mysql_query( "select Type, Device, Channel, Format, Host, Port, Path, Width, Height, Palette, MaxFPS, Controllable, ControlId, ControlDevice, ControlAddress, DefaultRate, DefaultScale from MonitorPresets where Id = '$preset'" );
if ( !$result ) if ( !$result )
die( mysql_error() ); die( mysql_error() );
$preset = mysql_fetch_assoc( $result ); $preset = mysql_fetch_assoc( $result );