Meme buge que r4218
This commit is contained in:
parent
f5df53323d
commit
feb65c8ddf
|
@ -35,8 +35,15 @@ $fields = array (
|
||||||
);
|
);
|
||||||
getFields($fields);
|
getFields($fields);
|
||||||
|
|
||||||
|
$dom->lock();
|
||||||
|
if (!$r=$dom->get_sub_domain_all($sub_domain_id)) {
|
||||||
|
$error=$err->errstr();
|
||||||
|
}
|
||||||
|
$dom->unlock();
|
||||||
|
|
||||||
|
|
||||||
$dt=$dom->domains_type_lst();
|
$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");
|
__("This page is restricted to authorized staff");
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue