File zm-1.22.3-monpreset.patch of Package ZoneMinder

*** web/zm_html_view_monitor.php	6 Nov 2006 13:56:43 -0000	1.55
--- web/zm_html_view_monitor.php	14 Dec 2006 13:11:38 -0000
***************
*** 113,119 ****
  }
  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'" );
  	if ( !$result )
  		die( mysql_error() );
  	$preset = mysql_fetch_assoc( $result );
--- 113,119 ----
  }
  if ( !empty($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 );
openSUSE Build Service is sponsored by