Skip to content

Commit

Permalink
Fix: PHP 7 - Fatal error: 'break' not in the 'loop' or 'switch' context
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Dec 16, 2015
1 parent 1978eeb commit cb7f29b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/includes/adodbtime/adodb-time.inc.php
Expand Up @@ -1006,7 +1006,7 @@ function adodb_tz_offset($gmt,$isphp5)
return sprintf('%s%02d%02d',($gmt<=0)?'+':'-',floor($zhrs),($zhrs-$hrs)*60);
else
return sprintf('%s%02d%02d',($gmt<0)?'+':'-',floor($zhrs),($zhrs-$hrs)*60);
break;
//break;
}


Expand Down

0 comments on commit cb7f29b

Please sign in to comment.