Skip to content

Database quota dashlet shows -1 MB instead of unlimited

Somehow the code for the database and email quota dashlets looks for 0 while the diskquota instead looks for -1 to mean unlimited.

As the default limit_database_quota and limit_mailquota is -1 it renders strange as '-1 MB' and with an unused progresbar.

image

After my patch:

image