This value might be 0 - use isset() instead.
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 12 Nov 2008 18:51:54 +0000 (11:51 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 12 Nov 2008 18:51:54 +0000 (11:51 -0700)
imp/lib/Mime/Viewer/html.php

index 0978f6e..eec7e49 100644 (file)
@@ -136,7 +136,7 @@ class IMP_Horde_Mime_Viewer_html extends Horde_Mime_Viewer_html
 
         /* Search for inlined links that we can display (multipart/related
          * parts). */
-        if (!empty($this->_params['related_id'])) {
+        if (isset($this->_params['related_id'])) {
             $cid_replace = array();
 
             foreach ($this->_params['related_cids'] as $mime_id => $cid) {