Skip to content
Snippets Groups Projects
Commit 9352ecca authored by Regis Houssin's avatar Regis Houssin Committed by Laurent Destailleur
Browse files

Fix: PHP 7 - Fatal error: 'break' not in the 'loop' or 'switch' context

parent 6fc4dacd
No related branches found
No related tags found
No related merge requests found
...@@ -1006,7 +1006,7 @@ function adodb_tz_offset($gmt,$isphp5) ...@@ -1006,7 +1006,7 @@ function adodb_tz_offset($gmt,$isphp5)
return sprintf('%s%02d%02d',($gmt<=0)?'+':'-',floor($zhrs),($zhrs-$hrs)*60); return sprintf('%s%02d%02d',($gmt<=0)?'+':'-',floor($zhrs),($zhrs-$hrs)*60);
else else
return sprintf('%s%02d%02d',($gmt<0)?'+':'-',floor($zhrs),($zhrs-$hrs)*60); return sprintf('%s%02d%02d',($gmt<0)?'+':'-',floor($zhrs),($zhrs-$hrs)*60);
break; //break;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment