summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-09-22 13:26:31 -0400
committerEvan Prodromou <evan@prodromou.name>2008-09-22 13:26:31 -0400
commitec3c9362342917cb6562974805dad20782db8093 (patch)
tree53bed3756aa58450d5c1ef2aaf986d0b39b13553
parenta64330b77c6f4607978e239f536f7d2a58185f3b (diff)
use common-config instead of $config in common_language
darcs-hash:20080922172631-84dde-357c532ac1fb1e2fec54680eb9d294a2ede23ab0.gz
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 349cff722..4576c9ed1 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -484,7 +484,7 @@ function common_language() {
return $language;
}
} else {
- return $config['site']['language'];
+ return common_config('site', 'language');
}
}
# salted, hashed passwords are stored in the DB