[dev] Quota 'NO LIMIT' Bug - reopen?

Leena Heino Leena.Heino@uta.fi
Wed Nov 20 09:39:13 2002


On Tue, 19 Nov 2002, Marcus I. Ryan wrote:

> http://bugs.horde.org/show_bug.cgi?id=1033
>
> I agree with the user here, except I think we should just get rid of
> "!empty($user)".  I don't see what it breaks.  I've tried it on my
> system with a user in all four situations and haven't seen any results.
>  Any reason I'm missing here as to why I should just get rid of that and
> recommit it?
In Cyrus IMAP if user has unlimited quota then the return values will be
empty. So this check is necessary.

I agree with the bug reporter that the if statement in Quota.php should be
corrected to:
if (isset($used) && !empty($total)) {


-- 
  -- Leena Heino (liinu at uta.fi)



More information about the dev mailing list