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

bugs at bugs.horde.org bugs at bugs.horde.org
Fri Mar 25 07:47:09 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
 Updated By         | eli at experthost.com
 Summary            | undefined index error in IMP.php, line 585
 Queue              | IMP
 Version            | 4.0.2
 State              | Bogus
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


eli at experthost.com (2005-03-25 07:47) wrote:

Ah, my apologies - I did a few searches and didn't see another report of
this.

However, is my fix not a better one?  using !isset($filter[0]) takes in to
consideration that $filter could be entirely empty, or that $filter[0] is
empty (null, or o, or false), whereas adding count($filter) requires $filter
to have an item in it, and you're running 2 functions rather than just 1.




More information about the bugs mailing list