]> git.mxchange.org Git - friendica-addons.git/commitdiff
fix error in PHPMailer
authorArt4 <art4@wlabs.de>
Wed, 27 Nov 2024 22:33:12 +0000 (22:33 +0000)
committerArt4 <art4@wlabs.de>
Wed, 27 Nov 2024 22:33:12 +0000 (22:33 +0000)
mailstream/phpmailer/class.phpmailer.php

index a47b13f70097d20afc54c49b350122981dfa9f7c..ff3d81e34c3b75f7280e2f490fbbe18d8213e5d8 100644 (file)
@@ -2691,10 +2691,10 @@ class PHPMailer
             if (!is_readable($path)) {
                 throw new phpmailerException($this->lang('file_open') . $path, self::STOP_CONTINUE);
             }
-            $magic_quotes = get_magic_quotes_runtime();
+            $magic_quotes = false;
             if ($magic_quotes) {
                 if (version_compare(PHP_VERSION, '5.3.0', '<')) {
-                    set_magic_quotes_runtime(false);
+                    //set_magic_quotes_runtime(false);
                 } else {
                     //Doesn't exist in PHP 5.4, but we don't need to check because
                     //get_magic_quotes_runtime always returns false in 5.4+