Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
Fixes #2155
Browse files Browse the repository at this point in the history
  • Loading branch information
msjyoo committed Oct 6, 2014
1 parent 9abd2c6 commit cd65179
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pocketmine/PocketMine.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,11 @@ function detect_system_timezone(){
//Detect the Time Zone string in systeminfo
preg_match($regex, $string, $matches);

if(!isset($matches[2]))
{
return false;
}

$offset = $matches[2];

if($offset == ""){
Expand Down

0 comments on commit cd65179

Please sign in to comment.