mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-01 07:39:57 +00:00
Fixes #2155
This commit is contained in:
parent
9abd2c63f4
commit
cd65179aef
@ -176,6 +176,11 @@ namespace pocketmine {
|
|||||||
//Detect the Time Zone string in systeminfo
|
//Detect the Time Zone string in systeminfo
|
||||||
preg_match($regex, $string, $matches);
|
preg_match($regex, $string, $matches);
|
||||||
|
|
||||||
|
if(!isset($matches[2]))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
$offset = $matches[2];
|
$offset = $matches[2];
|
||||||
|
|
||||||
if($offset == ""){
|
if($offset == ""){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user