MDL-11767 SQL error with postgres - merged from MOODLE_19_STABLE

This commit is contained in:
poltawski 2007-10-29 00:21:57 +00:00
parent 770778a502
commit 6e8a5d8814

View file

@ -66,7 +66,7 @@
// put the user filter form first // put the user filter form first
$user_filter_form->display(); $user_filter_form->display();
// get the SQL filter // 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); $ausercount = count_records_select('user', $where);
// limit the number of options // limit the number of options
$comment = null; $comment = null;
@ -79,4 +79,4 @@
// display the bulk user form // display the bulk user form
$user_bulk_form->display(); $user_bulk_form->display();
admin_externalpage_print_footer(); admin_externalpage_print_footer();
?> ?>