[Mapbender-commits] r9962 - trunk/mapbender/http/php/wrappers
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Sep 12 22:26:56 PDT 2018
Author: armin11
Date: 2018-09-12 22:26:56 -0700 (Wed, 12 Sep 2018)
New Revision: 9962
Modified:
trunk/mapbender/http/php/wrappers/mbw_split.php
Log:
Test
Modified: trunk/mapbender/http/php/wrappers/mbw_split.php
===================================================================
--- trunk/mapbender/http/php/wrappers/mbw_split.php 2018-09-13 05:24:16 UTC (rev 9961)
+++ trunk/mapbender/http/php/wrappers/mbw_split.php 2018-09-13 05:26:56 UTC (rev 9962)
@@ -38,7 +38,7 @@
$result = split($pars);
break;
default:
- if (isset($pars[2]) && $pars[2] <= 0) {
+ if ($pars[2] == null) {
$result = explode($pars[0],$pars[1]);
}
else {
@@ -47,7 +47,7 @@
}
}
else if (strpos($phpversion, "7.") === 0) {
- if (isset($pars[2]) && $pars[2] <= 0) {
+ if ($pars[2] == null) {
$result = explode($pars[0],$pars[1]);
}
else {
More information about the Mapbender_commits
mailing list