summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-03-08 06:38:03 -0800
committerAleksander Machniak <alec@alec.pl>2013-03-08 06:38:03 -0800
commit9fdba7909417576aaf7a3b312143b03420913ceb (patch)
tree0b8878c41507e0cfa40573e1cb169b90df30bfec
parentd9dc320a40ef21cfc0a1f03d453784949da65f52 (diff)
parent8cfba1bb2a5bef037316107893c4bbac801c4883 (diff)
Merge pull request #60 from thijskh/master
Test content_id with isset instead of a true/false value
-rw-r--r--program/lib/Roundcube/rcube_message.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_message.php b/program/lib/Roundcube/rcube_message.php
index dc7080746..60161a419 100644
--- a/program/lib/Roundcube/rcube_message.php
+++ b/program/lib/Roundcube/rcube_message.php
@@ -616,7 +616,7 @@ class rcube_message
foreach ($this->inline_parts as $inline_object) {
$part_url = $this->get_part_url($inline_object->mime_id, true);
- if ($inline_object->content_id)
+ if (isset($inline_object->content_id))
$a_replaces['cid:'.$inline_object->content_id] = $part_url;
if ($inline_object->content_location) {
$a_replaces[$inline_object->content_location] = $part_url;