mirror of
https://github.com/moodle/moodle.git
synced 2025-03-21 08:00:37 +01:00
Merge branch 'MDL-63480-master' of git://github.com/mihailges/moodle
This commit is contained in:
commit
0bf5dd4de4
@ -184,12 +184,12 @@ $where = array();
|
||||
$where_params = array();
|
||||
|
||||
if ($sifirst !== 'all') {
|
||||
$where[] = $DB->sql_like('u.firstname', ':sifirst', false);
|
||||
$where[] = $DB->sql_like('u.firstname', ':sifirst', false, false);
|
||||
$where_params['sifirst'] = $sifirst.'%';
|
||||
}
|
||||
|
||||
if ($silast !== 'all') {
|
||||
$where[] = $DB->sql_like('u.lastname', ':silast', false);
|
||||
$where[] = $DB->sql_like('u.lastname', ':silast', false, false);
|
||||
$where_params['silast'] = $silast.'%';
|
||||
}
|
||||
|
||||
|
@ -124,12 +124,12 @@ $where = array();
|
||||
$where_params = array();
|
||||
|
||||
if ($sifirst !== 'all') {
|
||||
$where[] = $DB->sql_like('u.firstname', ':sifirst', false);
|
||||
$where[] = $DB->sql_like('u.firstname', ':sifirst', false, false);
|
||||
$where_params['sifirst'] = $sifirst.'%';
|
||||
}
|
||||
|
||||
if ($silast !== 'all') {
|
||||
$where[] = $DB->sql_like('u.lastname', ':silast', false);
|
||||
$where[] = $DB->sql_like('u.lastname', ':silast', false, false);
|
||||
$where_params['silast'] = $silast.'%';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user