summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-04-01 06:05:15 +0000
committerDries Buytaert <dries@buytaert.net>2003-04-01 06:05:15 +0000
commit3ad7449bc7a31917aaaf38da7e09d1131c05ddc1 (patch)
treeb3139b550851b12f1f7d0ee9c81a20afc618b225 /includes/common.inc
parenta92bfba70710b21b50d981c12537176d91722588 (diff)
downloadbrdo-3ad7449bc7a31917aaaf38da7e09d1131c05ddc1.tar.gz
brdo-3ad7449bc7a31917aaaf38da7e09d1131c05ddc1.tar.bz2
- Various improvements to the menu system.
- Changed the import and taxonomy module to use better URLs. Patches by Al. - Fixed locale module weirdness. Patch by Kjartan.
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 43f580a48..17f5f84b1 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -147,7 +147,7 @@ function t($string, $args = 0) {
** => url("user/register")));
*/
- $string = ($languages && function_exists("locale") ? locale($string) : $string);
+ $string = ($languages && module_exist("locale") ? locale($string) : $string);
if (!$args) {
return $string;