projects
/
atutor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
346bbc7
)
0002238
author
heidi valles
<hvalles@ocad.ca>
Tue, 6 Dec 2005 14:33:18 +0000
(14:33 -0000)
committer
heidi valles
<hvalles@ocad.ca>
Tue, 6 Dec 2005 14:33:18 +0000
(14:33 -0000)
docs/include/html/dropdowns/glossary.inc.php
patch
|
blob
|
history
diff --git
a/docs/include/html/dropdowns/glossary.inc.php
b/docs/include/html/dropdowns/glossary.inc.php
index
bb27c7f
..
af1846c
100644
(file)
--- a/
docs/include/html/dropdowns/glossary.inc.php
+++ b/
docs/include/html/dropdowns/glossary.inc.php
@@
-29,10
+29,9
@@
if ($result && ($row = mysql_fetch_array($result))) {
$words = str_replace("\n", ' ', $words);
//case-insensitive, unique array of words
- f
unction to_lower (&$str, $key
) {
- $
str = strtolower($str
);
+ f
or($i=0;$i<count($words);$i++
) {
+ $
words[$i] = strtolower($words[$i]
);
}
- array_walk(&$words, 'to_lower');
$words = array_unique($words);
if (count($words) > 0) {