[Tickets] New ticket (159): imp_show_quota produces error message

bugs at bugs.horde.org bugs at bugs.horde.org
Mon May 10 00:07:12 PDT 2004


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

-Ticket 159
-Queue: IMP
-Created By: 

-Summary:
imp_show_quota produces error message

Comment by jason at staff.pnc.com.au on Mon May 10 00:07:11 2004 (today):
Hi, when a users quota's are not enabled (using courier-imap).

IMP produces the following error:
Notice: Undefined index: limit in /var/www/html/mail/config/conf.php on line
408

This is caused by:
if (is_array($quota) && $quota['limit'] != 0) {

and can be fixed by:
if (is_array($quota) && count($quota) > 0 && $quota['limit'] != 0) {


--


http://bugs.horde.org/details.php?id=159

-- 


More information about the bugs mailing list