From bd0551b22076b82a6d49e9f7a2b2e0c90a1b2326 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 05 Feb 2016 07:25:27 -0500
Subject: [PATCH] Secure also downloads of addressbook exports, managesieve script exports and Enigma keys exports

---
 plugins/debug_logger/runlog/runlog.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/debug_logger/runlog/runlog.php b/plugins/debug_logger/runlog/runlog.php
index 0f43df8..ae352bd 100644
--- a/plugins/debug_logger/runlog/runlog.php
+++ b/plugins/debug_logger/runlog/runlog.php
@@ -130,7 +130,7 @@
         $this->debug_messages[] = $msg;
         $this->run_log[] = array(
                 'type'    => 'note',
-                'tag'     => $tag ? $tag:"text",
+                'tag'     => $tag ?: 'text',
                 'value'   => htmlentities($msg),
                 'time'    => microtime(true),
                 'parents' => $this->parent_stack,

--
Gitblit v1.9.1