Răsfoiți Sursa

Merge branch 'master' of https://github.com/unaio/una

RomanL 5 ani în urmă
părinte
comite
0c5c465acd
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      modules/boonex/antispam/classes/BxAntispamModule.php

+ 1 - 1
modules/boonex/antispam/classes/BxAntispamModule.php

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