Bug 379 - Make default view selectable for default monitors.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2107 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2007-04-03 10:32:43 +00:00
parent 78b3feb715
commit 53193fcdf4
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,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, Controllable, ControlId, ControlDevice, ControlAddress, DefaultView, 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 );