]> git.mjollnir.org Git - moodle.git/commitdiff
Don't use db_lowercase() anymore.
authorstronk7 <stronk7>
Mon, 4 Sep 2006 22:45:12 +0000 (22:45 +0000)
committerstronk7 <stronk7>
Mon, 4 Sep 2006 22:45:12 +0000 (22:45 +0000)
mod/glossary/editcategories.php

index e318dce28bb5c41243c57e21a632d8064b2c5a4f..e78c149cd1329581d68ac02202313ff1b8144e59 100644 (file)
 
     } elseif ( $action == "add" ) {
         if ( $confirm ) {
-            $lcase = db_lowercase();
-            $dupcategory = get_record("glossary_categories","$lcase(name)",strtolower($name),"glossaryid",$glossary->id);
+            $dupcategory = get_record("glossary_categories",lower(name),strtolower($name),"glossaryid",$glossary->id);
             if ( $dupcategory ) {
                 echo "<p align=\"center\">" . get_string("add"). " " . get_string("category","glossary") . "<font size=\"3\">";