MDL-24869 fixed incorrect string location
authorPetr Skoda <skodak@moodle.org>
Tue, 26 Oct 2010 17:46:57 +0000 (17:46 +0000)
committerPetr Skoda <skodak@moodle.org>
Tue, 26 Oct 2010 17:46:57 +0000 (17:46 +0000)
mod/glossary/sql.php

index 27ed772..912473b 100644 (file)
             }
             if ($hook == 'SPECIAL') {
                 //Create appropiate IN contents
-                $alphabet = explode(",", get_string("alphabet"));
+                $alphabet = explode(",", get_string('alphabet', 'langconfig'));
                 list($nia, $aparams) = $DB->get_in_or_equal($alphabet, SQL_PARAMS_NAMED, $start='a0', false);
                 $params = array_merge($params, $aparams);
                 $where = "AND " . $DB->sql_substr("upper(concept)", 1, 1) . " $nia";