#5772 - avoid strict standards message
This commit is contained in:
parent
2e0b363941
commit
c69f491005
@ -15,7 +15,7 @@
|
|||||||
* @link http://www.oxidmodule.com
|
* @link http://www.oxidmodule.com
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class d3GeoIP extends oxbase
|
class d3GeoIP extends oxBase
|
||||||
{
|
{
|
||||||
protected $_sClassName = 'd3geoip';
|
protected $_sClassName = 'd3geoip';
|
||||||
private $_sModId = 'd3_geoip';
|
private $_sModId = 'd3_geoip';
|
||||||
@ -47,9 +47,7 @@ class d3GeoIP extends oxbase
|
|||||||
}
|
}
|
||||||
|
|
||||||
$iIPNum = $this->_getNumIp(
|
$iIPNum = $this->_getNumIp(
|
||||||
oxRegistry::getConfig()->checkParamSpecialChars(
|
oxRegistry::getConfig()->checkParamSpecialChars($sIP)
|
||||||
str_replace(' ', '', $sIP)
|
|
||||||
)
|
|
||||||
);
|
);
|
||||||
|
|
||||||
$sISOAlpha = $this->loadByIPNum($iIPNum);
|
$sISOAlpha = $this->loadByIPNum($iIPNum);
|
||||||
@ -120,10 +118,11 @@ class d3GeoIP extends oxbase
|
|||||||
$sIP = 'UNKNOWN';
|
$sIP = 'UNKNOWN';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$sIP = str_replace(' ', '', $sIP);
|
||||||
|
|
||||||
stopProfile(__METHOD__);
|
stopProfile(__METHOD__);
|
||||||
|
|
||||||
return oxRegistry::getConfig()->checkParamSpecialChars(str_replace(' ', '', $sIP));
|
return oxRegistry::getConfig()->checkParamSpecialChars($sIP);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user