[Tickets #1623] NEW: undefined index error in IMP.php, line 585

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Mar 24 20:39:30 PST 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=1623
-----------------------------------------------------------------------
 Ticket             | 1623
 Created By         | eli at experthost.com
 Summary            | undefined index error in IMP.php, line 585
 Queue              | IMP
 Version            | 4.0.2
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


eli at experthost.com (2005-03-24 20:39) wrote:

I see errors about an undefined index in IMP.php on line 585 which is the
line using "is_null($filter[0])":

        /* Add the list of mailboxes to the lists. */
        $showmbox = false;
        if (is_null($filter[0])) {
            $showmbox = true;
            array_shift($filter);
        }

If you change the is_null() call to !isset() you eliminate the undefined
index error and get the same functionality.

Eli.




More information about the bugs mailing list