MDL-42912 mod_glossary: Fix typo and call to core_text
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
850fd970cb
commit
820ef5cdbc
@@ -114,7 +114,7 @@
|
||||
$where = '';
|
||||
$params['hookup'] = textlib::strtoupper($hook);
|
||||
|
||||
if ($hook != 'ALL' and $hook != 'SPECIAL' && ($hookstrlen = itextlib::strlen($hook))) {
|
||||
if ($hook != 'ALL' and $hook != 'SPECIAL' and ($hookstrlen = textlib::strlen($hook))) {
|
||||
$where = "AND " . $DB->sql_substr("upper(concept)", 1, $hookstrlen) . " = :hookup";
|
||||
}
|
||||
|
||||
@@ -239,7 +239,7 @@
|
||||
|
||||
case 'letter':
|
||||
if ($hook != 'ALL' and $hook != 'SPECIAL' and ($hookstrlen = textlib::strlen($hook))) {
|
||||
$params['hookup'] = core_text::strtoupper($hook);
|
||||
$params['hookup'] = textlib::strtoupper($hook);
|
||||
$where = "AND " . $DB->sql_substr("upper(concept)", 1, $hookstrlen) . " = :hookup";
|
||||
}
|
||||
if ($hook == 'SPECIAL') {
|
||||
|
||||
Reference in New Issue
Block a user