@@ -89,7 +89,7 @@ class BxAntispamModule extends BxDolModule
if ($this->serviceIsIpWhitelisted($sIp))
return false;
- if (get_magic_quotes_gpc() && $isStripSlashes == BX_SLASHES_AUTO)
+ if (function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc() && $isStripSlashes == BX_SLASHES_AUTO)
$sContent = stripslashes($sContent);
$bRet = false;