1
This commit is contained in:
parent
b70e3baae8
commit
5672adb004
@ -54,7 +54,7 @@ class BaseController {
|
|||||||
public function _getZid()
|
public function _getZid()
|
||||||
{
|
{
|
||||||
$net = getReqVal('_net', '');
|
$net = getReqVal('_net', '');
|
||||||
$zid = $net && count($net) > 3 ? $net[2] : 3;
|
$zid = $net && strlen($net) > 3 ? $net[2] : 3;
|
||||||
return ($zid >= 1 && $zid <= 4) ? $zid : 3;
|
return ($zid >= 1 && $zid <= 4) ? $zid : 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user