$result = sql_dbquery( $config['provision_db'], $query );
if ( !$result ) return null;
- if (mysql_num_rows($result) < 1 ) return null;
+ if ( @mysql_num_rows($result) < 1 ) return null;
$rows = array();
while ( $row = mysql_fetch_assoc( $result ) )
array_push( $rows, $row['mac'] );
$result = sql_dbquery( $config['provision_db'], $query );
if ( !$result ) return null;
- if (mysql_num_rows($result) < 1 ) return null;
+ if ( @mysql_num_rows($result) < 1 ) return null;
$rows = array();
while ( $row = mysql_fetch_assoc( $result ) )
{
$result = sql_dbquery( $config['provision_db'], $query );
if ( !$result ) return null;
- if (mysql_num_rows($result) < 1 ) return null;
+ if ( @mysql_num_rows($result) < 1 ) return null;
$rows = array();
while ( $row = mysql_fetch_assoc( $result ) )
{