diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-03-08 06:38:03 -0800 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-03-08 06:38:03 -0800 |
commit | 9fdba7909417576aaf7a3b312143b03420913ceb (patch) | |
tree | 0b8878c41507e0cfa40573e1cb169b90df30bfec /program | |
parent | d9dc320a40ef21cfc0a1f03d453784949da65f52 (diff) | |
parent | 8cfba1bb2a5bef037316107893c4bbac801c4883 (diff) |
Merge pull request #60 from thijskh/master
Test content_id with isset instead of a true/false value
Diffstat (limited to 'program')
-rw-r--r-- | program/lib/Roundcube/rcube_message.php | 2 |
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; |