From 59d11dce3335520bc53cecdb51cc665f540d8270 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 20 May 2015 09:51:11 +0200 Subject: [PATCH] Small code improvement --- program/lib/Roundcube/rcube_message.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/program/lib/Roundcube/rcube_message.php b/program/lib/Roundcube/rcube_message.php index 441358498..c72799083 100644 --- a/program/lib/Roundcube/rcube_message.php +++ b/program/lib/Roundcube/rcube_message.php @@ -103,12 +103,12 @@ class rcube_message $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 @@ class rcube_message { return rcube_mime::format_flowed($text, $length); } - }