search error
Bo Daley <[email protected]>
| Newsgroups | gmane.comp.horde.whups |
|---|---|
| Message-ID | <[email protected]> |
When I do a search for 'Any' module I get this message (with error reporting set
to E_ALL):
Notice: Undefined index: Any in /var/www/html/horde/whups/search.php on line 64
This patch fixes it:
Index: search.php
===================================================================
RCS file: /repository/whups/search.php,v
retrieving revision 1.39
diff -u -r1.39 search.php
--- search.php 4 Feb 2003 05:09:41 -0000 1.39
+++ search.php 11 Mar 2003 02:36:15 -0000
@@ -61,7 +61,7 @@
$catName .= $categories[$c];
}
} else {
- $catName = $categories[$cat];
+ $catName = ($cat==_("Any")) ? _("Any") : $categories[$cat];
}
} else {
$catName = _("Any");
--
Whups mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]