From 3ad7449bc7a31917aaaf38da7e09d1131c05ddc1 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 1 Apr 2003 06:05:15 +0000 Subject: - 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. --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/common.inc') 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; -- cgit v1.2.3