[Mapbender-commits] r9652 - in trunk/mapbender/http: classes php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Jan 12 11:50:30 PST 2017
Author: armin11
Date: 2017-01-12 11:50:30 -0800 (Thu, 12 Jan 2017)
New Revision: 9652
Modified:
trunk/mapbender/http/classes/class_iso19139.php
trunk/mapbender/http/php/mod_dataISOMetadata.php
Log:
Fix to be downward compatible with php < 5.5 - array_column() is not available in php5.4!
Modified: trunk/mapbender/http/classes/class_iso19139.php
===================================================================
--- trunk/mapbender/http/classes/class_iso19139.php 2017-01-12 16:49:59 UTC (rev 9651)
+++ trunk/mapbender/http/classes/class_iso19139.php 2017-01-12 19:50:30 UTC (rev 9652)
@@ -150,6 +150,7 @@
$this->inspireRegulations = $this->getRelevantInspireRegulations();
}
+ //TODO: Following function is only needed til php 5.5 - after upgrade to debian 8 it is obsolet - see also class_syncCkan.php!
public function array_column(array $input, $columnKey, $indexKey = null) {
$array = array();
foreach ($input as $value) {
Modified: trunk/mapbender/http/php/mod_dataISOMetadata.php
===================================================================
--- trunk/mapbender/http/php/mod_dataISOMetadata.php 2017-01-12 16:49:59 UTC (rev 9651)
+++ trunk/mapbender/http/php/mod_dataISOMetadata.php 2017-01-12 19:50:30 UTC (rev 9652)
@@ -32,7 +32,7 @@
require_once(dirname(__FILE__) . "/../php/mod_validateInspire.php");
require_once(dirname(__FILE__) . "/../classes/class_iso19139.php");
require_once(dirname(__FILE__)."/../classes/class_owsConstraints.php");
-require_once(dirname(__FILE__)."/../classes/class_qualityreport.php");
+require_once(dirname(__FILE__)."/../classes/class_qualityReport.php");
$con = db_connect(DBSERVER,OWNER,PW);
db_select_db(DB,$con);
More information about the Mapbender_commits
mailing list