Skip to content

Commit

Permalink
fix sql
Browse files Browse the repository at this point in the history
Mantis: 15534
  • Loading branch information
Fabian Wolf committed Feb 25, 2015
1 parent 85e2ebc commit aa97dcb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Services/User/classes/class.ilObjUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -5202,8 +5202,7 @@ public static function userExists($a_usr_ids = array())
'JOIN usr_data ud ON obj_id = usr_id '.
'WHERE '.$ilDB->in('obj_id',$a_usr_ids,false,'integer').' ';
$res = $ilDB->query($query);
$num_rows = $res->numRows();

$num_rows =$res->fetchRow(DB_FETCHMODE_OBJECT)->num;
return $num_rows == count((array) $a_usr_ids);
}
// end-patch deleteProgress
Expand Down

0 comments on commit aa97dcb

Please sign in to comment.