diff options
Diffstat (limited to 'ratatoeskr/backend.php')
-rw-r--r-- | ratatoeskr/backend.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ratatoeskr/backend.php b/ratatoeskr/backend.php index 365fe7a..0316589 100644 --- a/ratatoeskr/backend.php +++ b/ratatoeskr/backend.php @@ -14,7 +14,7 @@ require_once(dirname(__FILE__) . "/sys/pwhash.php"); require_once(dirname(__FILE__) . "/sys/textprocessors.php"); require_once(dirname(__FILE__) . "/languages.php"); -$admin_grp = Group::by_name("admins"); +$admin_grp = NULL; /* Mass creation of tags. */ function maketags($tagnames, $lang) @@ -65,6 +65,9 @@ $backend_subactions = url_action_subactions(array( { global $ratatoeskr_settings, $admin_grp, $ste, $languages; + if($admin_grp === NULL) + $admin_grp = Group::by_name("admins"); + $ste->vars["all_languages"] = array(); $ste->vars["all_langcodes"] = array(); foreach($languages as $code => $data) |