Fpdf/tFPDF.php
authorAlan Knowles <alan@roojs.com>
Mon, 19 Mar 2018 06:06:07 +0000 (14:06 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 19 Mar 2018 06:06:07 +0000 (14:06 +0800)
Fpdf/tFPDF.php

index e3b9694..636d22e 100644 (file)
@@ -1243,8 +1243,9 @@ function _dochecks()
        if(ini_get('mbstring.func_overload') & 2)
                $this->Error('mbstring overloading must be disabled');
        //Disable runtime magic quotes
-       if(get_magic_quotes_runtime())
-               @set_magic_quotes_runtime(0);
+       if(get_magic_quotes_runtime()) {
+               set_magic_quotes_runtime(0);
+       }
 }
 
 function _getpageformat($format)