Replace deprecated call to Q within array_map()

pull/305/head
dsoares 9 years ago
parent 74ce01efc7
commit 234fd19505

@ -391,7 +391,7 @@ EOF;
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

Loading…
Cancel
Save