#5772 - avoid strict standards message

This commit is contained in:
Daniel Seifert 2016-11-21 15:34:05 +00:00
parent 2e0b363941
commit c69f491005
1 changed files with 4 additions and 5 deletions

View File

@ -15,7 +15,7 @@
* @link http://www.oxidmodule.com
*/
class d3GeoIP extends oxbase
class d3GeoIP extends oxBase
{
protected $_sClassName = 'd3geoip';
private $_sModId = 'd3_geoip';
@ -47,9 +47,7 @@ class d3GeoIP extends oxbase
}
$iIPNum = $this->_getNumIp(
oxRegistry::getConfig()->checkParamSpecialChars(
str_replace(' ', '', $sIP)
)
oxRegistry::getConfig()->checkParamSpecialChars($sIP)
);
$sISOAlpha = $this->loadByIPNum($iIPNum);
@ -120,10 +118,11 @@ class d3GeoIP extends oxbase
$sIP = 'UNKNOWN';
}
}
$sIP = str_replace(' ', '', $sIP);
stopProfile(__METHOD__);
return oxRegistry::getConfig()->checkParamSpecialChars(str_replace(' ', '', $sIP));
return oxRegistry::getConfig()->checkParamSpecialChars($sIP);
}
/**