MDL-11767 SQL error with postgres
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
// put the user filter form first
|
||||
$user_filter_form->display();
|
||||
// get the SQL filter
|
||||
$where =& $user_filter_form->getSQLFilter('id<>1 AND NOT deleted');
|
||||
$where =& $user_filter_form->getSQLFilter('id<>1 AND deleted <> 1');
|
||||
$ausercount = count_records_select('user', $where);
|
||||
// limit the number of options
|
||||
$comment = null;
|
||||
@@ -79,4 +79,4 @@
|
||||
// display the bulk user form
|
||||
$user_bulk_form->display();
|
||||
admin_externalpage_print_footer();
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user