From a3b85d7b8560cdc1057fcaffa3acbd247b4b5b7a Mon Sep 17 00:00:00 2001 From: Thomas B. <thomas@roundcube.net> Date: Mon, 07 Oct 2013 13:19:03 -0400 Subject: [PATCH] Merge pull request #133 from cwickert/release-0.9-canned-responses --- plugins/debug_logger/debug_logger.php | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/debug_logger/debug_logger.php b/plugins/debug_logger/debug_logger.php index 1e015c2..87a1637 100644 --- a/plugins/debug_logger/debug_logger.php +++ b/plugins/debug_logger/debug_logger.php @@ -142,8 +142,9 @@ return $args; } - function __destruct(){ - $this->runlog->end(); + function __destruct() + { + if ($this->runlog) + $this->runlog->end(); } } -?> -- Gitblit v1.9.1