1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

admin language global issue

This commit is contained in:
secretr
2010-11-21 09:21:25 +00:00
parent 27c15ac2af
commit 02c16d4ed7

View File

@@ -139,7 +139,7 @@ class admin_shortcodes
function sc_admin_lang($parm) function sc_admin_lang($parm)
{ {
if (!ADMIN || !$pref['multilanguage']) { return ''; } if (!ADMIN || !e107::getPref('multilanguage')) { return ''; }
$e107 = e107::getInstance(); $e107 = e107::getInstance();
$sql = e107::getDb(); $sql = e107::getDb();