mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-18 22:07:58 -04:00
Bug 34 - Moved mysql specific functions to more generic functions.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2196 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
@@ -23,11 +23,8 @@ if ( !canEdit( 'Monitors' ) )
|
||||
$view = "error";
|
||||
return;
|
||||
}
|
||||
$result = mysql_query( "select * from Monitors where Id = '$mid'" );
|
||||
if ( !$result )
|
||||
die( mysql_error() );
|
||||
$monitor = mysql_fetch_assoc( $result );
|
||||
mysql_free_result( $result );
|
||||
|
||||
$monitor = dbFetchMonitor( $mid );
|
||||
|
||||
?>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
|
||||
Reference in New Issue
Block a user