fixup dbFetchMOnitor

pull/367/head
Isaac Connor 2013-12-06 14:22:07 -05:00
parent 969918781f
commit 86b04d0e6f
1 changed files with 2 additions and 2 deletions

View File

@ -352,12 +352,12 @@ function getTableDescription( $table, $asString=1 )
function dbFetchMonitor( $mid )
{
return( dbFetchOne( "select * from Monitors where Id = ".dbEscape($mid) ) );
return( dbFetchOne( "select * from Monitors where Id = ?", NULL, array($mid) ) );
}
function dbFetchGroup( $gid )
{
return( dbFetchOne( "select * from Groups where Id = ".dbEscape($gid) ) );
return( dbFetchOne( "select * from Groups where Id = ?", NULL, array($gid) ) );
}
?>