Meme buge que r4218

This commit is contained in:
Alan Garcia 2013-04-15 08:06:32 +00:00
parent f5df53323d
commit feb65c8ddf
1 changed files with 8 additions and 1 deletions

View File

@ -35,8 +35,15 @@ $fields = array (
);
getFields($fields);
$dom->lock();
if (!$r=$dom->get_sub_domain_all($sub_domain_id)) {
$error=$err->errstr();
}
$dom->unlock();
$dt=$dom->domains_type_lst();
if (!$isinvited && $dt[strtolower($type)]["enable"] != "ALL" ) {
if (!$isinvited && $dt[strtolower($r['type'])]["enable"] != "ALL" ) {
__("This page is restricted to authorized staff");
exit();
}