noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 26/39: Bug : compatibility PHP7.4


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 26/39: Bug : compatibility PHP7.4
Date: Sat, 11 Jul 2020 13:20:44 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 270143694ec8e8a35f470330fca04a08a52e0054
Author: Dany De Bontridder <danydb@noalyss.eu>
AuthorDate: Mon Jun 15 20:46:19 2020 +0200

    Bug : compatibility PHP7.4
---
 include/tfpdf/tfpdf.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/tfpdf/tfpdf.php b/include/tfpdf/tfpdf.php
index f9fb179..6000a9f 100644
--- a/include/tfpdf/tfpdf.php
+++ b/include/tfpdf/tfpdf.php
@@ -1257,7 +1257,7 @@ function _dochecks()
        if(ini_get('mbstring.func_overload') & 2)
                $this->Error('mbstring overloading must be disabled');
        // Ensure runtime magic quotes are disabled
-       if(get_magic_quotes_runtime())
+       if(version_compare(PHP_VERSION, '7.3.0','<') && 
get_magic_quotes_runtime())
                @set_magic_quotes_runtime(0);
 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]