mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-11767 SQL error with postgres - merged from MOODLE_19_STABLE
This commit is contained in:
parent
770778a502
commit
6e8a5d8814
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue