summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-09-22 15:09:37 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-09-22 15:09:37 -0400
commite24425d44ea6416f6d20add0e1e872fb23ff5214 (patch)
treeec9ba5c634494dcea868bd21d0fea85c90d0fb2a /lib
parentd73ed53535845af2ed0c731f9dbf7997ec470536 (diff)
correct a couple of bugs
darcs-hash:20080922190937-5ed1f-9439cd9cff178323ac1445f33e2520260b4b267e.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 48dd1a1b4..edab7aad8 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -497,7 +497,7 @@ function common_language() {
return $language;
}
} else {
- return $config['site']['language'];
+ return common_config('site', 'language');
}
}
# salted, hashed passwords are stored in the DB