]> git.mxchange.org Git - mailer.git/commitdiff
Fatal error fixed
authorRoland Häder <roland@mxchange.org>
Fri, 27 Feb 2009 23:04:41 +0000 (23:04 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 27 Feb 2009 23:04:41 +0000 (23:04 +0000)
inc/functions.php

index a55dda49c181db6def6913bd2a896880de657fb4..a5113472977aa303ea17762ca25da7a4a384b4d9 100644 (file)
@@ -3051,7 +3051,7 @@ function READ_FILE ($FQFN, $sqlPrepare = false) {
 // Writes content to a file
 function WRITE_FILE ($FQFN, $content) {
        // Is the file writeable?
-       if (((FILE_READABLE($FQFN)) && (!is_writeable($FQFN))) && (!chmod($FQFN, 0644)) {
+       if ((FILE_READABLE($FQFN)) && (!is_writeable($FQFN)) && (!chmod($FQFN, 0644))) {
                // Not writeable!
                DEBUG_LOG(__FUNCTION__, __LINE__, sprintf("File %s not writeable.", basename($FQFN)));