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:
parent
78b3feb715
commit
53193fcdf4
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue