Permalink
Browse files

- Fixed another bug when showing "dynaentries" (it does not take in c…

…ount the case sensitive setting)
  • Loading branch information...
1 parent cca6f7f commit 3dfa6ce23a8cf22d471e5c11daee5fc51be4fb42 willcast committed Oct 18, 2003
Showing with 2 additions and 1 deletion.
  1. +2 −1 mod/glossary/showentry.php
@@ -8,7 +8,8 @@
print_header();
$entries = get_records_sql("select e.* from {$CFG->prefix}glossary_entries e, {$CFG->prefix}glossary g".
" where e.glossaryid = g.id and".
- " ucase(concept) = '" . strtoupper(trim($concept)). "' and".
+ " (e.casesensitive = 1 and ucase(concept) = '" . strtoupper(trim($concept)). "' or".
+ " e.casesensitive = 0 and concept = '$concept') and".
" g.course = $courseid and".
" e.usedynalink = 1 and g.usedynalink = 1");

0 comments on commit 3dfa6ce

Please sign in to comment.