From 1f66be26397a124f3fe1fbc0ea2e2de54b3027e0 Mon Sep 17 00:00:00 2001 From: quix0r Date: Fri, 27 Feb 2009 23:04:41 +0000 Subject: [PATCH] Fatal error fixed --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/functions.php b/inc/functions.php index a55dda49c1..a511347297 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -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))); -- 2.39.5