[imp] HEAD: More Quota oddities, patch attached

Chris Hastie lists at oak-wood.co.uk
Wed Jan 15 19:13:47 PST 2003


On Wed, 15 Jan 2003, Leena Heino <Leena.Heino at uta.fi> wrote
>Current Quota implementation in HEAD does not work correctly with Cyrus in
>situations where quota is set to 0 or quota is unlimited (none).
>
>Attached is patch to lib/Quota.php and lib/Quota/cyrus.php.

Still doesn't work here with Cyrus 2.0.16. In quotaHTML(), $quota is not 
an array if there's no limit, so an additional

     return $this->_quotaHTML('', '');

seems needed at the end of the "if (is_array($quota)){}" statement.
-- 
Chris Hastie


More information about the imp mailing list