Bug #9475: ID 0 is a valid MIME ID
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 18 Jan 2011 06:41:48 +0000 (23:41 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 18 Jan 2011 06:42:29 +0000 (23:42 -0700)
imp/view.php

index a66c2c4..6016f7e 100644 (file)
@@ -217,7 +217,7 @@ case 'print_attach':
     switch ($vars->pmode) {
     case 'content':
     case 'headers':
-        if (!$vars->id) {
+        if (!isset($vars->id)) {
             exit;
         }