Permalink
Browse files

Don't use db_lowercase() anymore.

  • Loading branch information...
1 parent 6b4b356 commit ccda38e5210584996977318d6c36bf5888d7479c stronk7 committed Sep 4, 2006
Showing with 1 addition and 2 deletions.
  1. +1 −2 mod/glossary/editcategories.php
@@ -130,8 +130,7 @@
} 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\">";

0 comments on commit ccda38e

Please sign in to comment.