Skip to content

Commit

Permalink
Fix Function get_magic_quotes_gpc() is deprecated (7.4)
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Oct 1, 2019
1 parent 6039238 commit 70e66e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Horde/Util.php
Expand Up @@ -114,7 +114,7 @@ public static function pformInput($append_session = 0)
public static function dispelMagicQuotes($var)
{
if (is_null(self::$_magicquotes)) {
self::$_magicquotes = get_magic_quotes_gpc();
self::$_magicquotes = function_exists('get_magic_quotes_gpc') && @get_magic_quotes_gpc();
}

if (self::$_magicquotes) {
Expand Down

0 comments on commit 70e66e6

Please sign in to comment.