From 8d4bcda874962d81d9b1a86480538b40834d8040 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Fri, 18 Aug 2006 08:48:33 -0400
Subject: [PATCH] Re-built message parsing (Bug #1327068)

---
 program/include/main.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/include/main.inc b/program/include/main.inc
index c52b671..887668b 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -1788,7 +1788,7 @@
  */
 function console($msg)
   {
-  if (is_string($msg))
+  if (!is_string($msg))
     $msg = var_export($msg, true);
 
   if (!($GLOBALS['CONFIG']['debug_level'] & 4))

--
Gitblit v1.9.1