From 59d11dce3335520bc53cecdb51cc665f540d8270 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Wed, 20 May 2015 03:51:11 -0400 Subject: [PATCH] Small code improvement --- program/lib/Roundcube/rcube_message.php | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/program/lib/Roundcube/rcube_message.php b/program/lib/Roundcube/rcube_message.php index 4413584..c727990 100644 --- a/program/lib/Roundcube/rcube_message.php +++ b/program/lib/Roundcube/rcube_message.php @@ -103,12 +103,12 @@ $this->set_safe((intval($_GET['_safe']) || $_SESSION['safe_messages'][$this->folder.':'.$uid])); $this->opt = array( - 'safe' => $this->is_safe, + 'safe' => $this->is_safe, 'prefer_html' => $this->app->config->get('prefer_html'), - 'get_url' => $this->app->url(array( - 'action' => 'get', - 'mbox' => $this->storage->get_folder(), - 'uid' => $uid)) + 'get_url' => $this->app->url(array( + 'action' => 'get', + 'mbox' => $this->folder, + 'uid' => $uid)) ); if (!empty($this->headers->structure)) { @@ -1038,5 +1038,4 @@ { return rcube_mime::format_flowed($text, $length); } - } -- Gitblit v1.9.1