Changeset:
        5818e10a533c
        
https://sourceforge.net/p/mrbs/hg-code/ci/5818e10a533cf9f0499914927159a8774e583c39
Author:
        Campbell Morrison <[email protected]>
Date:
        Thu Oct 22 18:51:12 2015 +0100
Log message:

Fixed bug with mail debug output

diffstat:

 web/functions_mail.inc |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r 18c071f63175 -r 5818e10a533c web/functions_mail.inc
--- a/web/functions_mail.inc    Thu Oct 22 18:45:42 2015 +0100
+++ b/web/functions_mail.inc    Thu Oct 22 18:51:12 2015 +0100
@@ -1094,7 +1094,10 @@
   {
     echo htmlspecialchars($message) . "<br>\n";
     // flush in case they have output_buffering configured on
-    ob_flush();
+    if (ob_get_length() !== FALSE)
+    {
+      ob_flush();
+    }
     flush();
   }
   else  // anything else goes to the error log

------------------------------------------------------------------------------
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to