Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/gis/GIS_Factory.class.php')
-rw-r--r--libraries/gis/GIS_Factory.class.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/libraries/gis/GIS_Factory.class.php b/libraries/gis/GIS_Factory.class.php
index c9f1d92794..e3888c3f6d 100644
--- a/libraries/gis/GIS_Factory.class.php
+++ b/libraries/gis/GIS_Factory.class.php
@@ -32,16 +32,13 @@ class PMA_GIS_Factory
{
include_once './libraries/gis/GIS_Geometry.class.php';
- /** @var PMA_String $pmaString */
- $pmaString = $GLOBALS['PMA_String'];
-
$file = './libraries/gis/GIS_'
- . ucfirst($pmaString->strtolower($type)) . '.class.php';
+ . ucfirst(/*overload*/mb_strtolower($type)) . '.class.php';
if (! file_exists($file)) {
return false;
}
if (include_once $file) {
- switch($pmaString->strtoupper($type)) {
+ switch(/*overload*/mb_strtoupper($type)) {
case 'MULTIPOLYGON' :
return PMA_GIS_Multipolygon::singleton();
case 'POLYGON' :