]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
use common-config instead of $config in common_language
authorEvan Prodromou <evan@prodromou.name>
Mon, 22 Sep 2008 17:26:31 +0000 (13:26 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 22 Sep 2008 17:26:31 +0000 (13:26 -0400)
darcs-hash:20080922172631-84dde-357c532ac1fb1e2fec54680eb9d294a2ede23ab0.gz

lib/util.php

index 349cff72224a1181be5cf716c1524e44c89f29c1..4576c9ed139e982d5c521e81076678558419dc9a 100644 (file)
@@ -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