From 234fd195053d250a0ea68212ed89c60c01a3b7ea Mon Sep 17 00:00:00 2001
From: dsoares <diana.soares@gmail.com>
Date: Mon, 26 Oct 2015 12:13:14 -0400
Subject: [PATCH] Replace deprecated call to Q within array_map()

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

diff --git a/program/include/rcmail_output_html.php b/program/include/rcmail_output_html.php
index 464008c..9b75e9f 100644
--- a/program/include/rcmail_output_html.php
+++ b/program/include/rcmail_output_html.php
@@ -391,7 +391,7 @@
         if ($override || !$this->message) {
             if ($this->app->text_exists($message)) {
                 if (!empty($vars))
-                    $vars = array_map('Q', $vars);
+                    $vars = array_map(array('rcube','Q'), $vars);
                 $msgtext = $this->app->gettext(array('name' => $message, 'vars' => $vars));
             }
             else

--
Gitblit v1.9.1