From 53193fcdf44a31aa64a92c23ace5a89f3b95bfb1 Mon Sep 17 00:00:00 2001 From: stan Date: Tue, 3 Apr 2007 10:32:43 +0000 Subject: [PATCH] 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 --- web/zm_html_view_monitor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/zm_html_view_monitor.php b/web/zm_html_view_monitor.php index 65ab1c6ff..20b171b1c 100644 --- a/web/zm_html_view_monitor.php +++ b/web/zm_html_view_monitor.php @@ -113,7 +113,7 @@ if ( !isset( $new_monitor ) ) } 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 ) die( mysql_error() ); $preset = mysql_fetch_assoc( $result );