From 82bac871fa626e82a593f7ab5a4ca3509261049f Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Tue, 02 Sep 2008 09:43:37 -0400
Subject: [PATCH] - fixed typo

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

diff --git a/program/include/rcube_message.php b/program/include/rcube_message.php
index 6654c3f..1e3bc7f 100644
--- a/program/include/rcube_message.php
+++ b/program/include/rcube_message.php
@@ -57,7 +57,6 @@
     list(, $this->sender) = each($this->imap->decode_address_list($this->headers->from));
     
     $this->set_safe((intval($_GET['_safe']) || $_SESSION['safe_messages'][$uid]));
-    $this->set_safe(0);
     
     $this->opt = array(
       'safe' => $this->is_safe,
@@ -280,7 +279,7 @@
         $this->parts[] = $print_part;
       }
       // show plaintext warning
-      else if ($html_part !== nullL && empty($this->parts)) {
+      else if ($html_part !== null && empty($this->parts)) {
         $c = new stdClass;
         $c->type = 'content';
         $c->body = rcube_label('htmlmessage');

--
Gitblit v1.9.1