Chance this might be undefined.
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 22 Jan 2009 23:51:29 +0000 (16:51 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 22 Jan 2009 23:51:29 +0000 (16:51 -0700)
imp/folders.php

index f338114..d1e2655 100644 (file)
@@ -252,7 +252,7 @@ case 'folders_empty_mailbox_confirm':
             $data = array(
                 'class' => (++$rowct % 2) ? 'item0' : 'item1',
                 'name' => htmlspecialchars(IMP::displayFolder($val)),
-                'msgs' => $elt_info['messages'],
+                'msgs' => $elt_info ? $elt_info['messages'] : 0,
                 'val' => htmlspecialchars($val)
             );
             $loop[] = $data;