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
$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;