N'affiche pas le menu de mail si pas utile

This commit is contained in:
Alan Garcia 2012-10-27 16:36:30 +00:00
parent 8096d2b3bb
commit 73aad5d823
1 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,8 @@
$q = $quota->getquota("mail");
$r = $quota->getquota("dom");
if ($q["t"] > 0 || $r["u"] > 0) {
// there are some existing mail, or there is a domain AND quota authorize mail
if ($q["u"] > 0 || ( $r["u"] > 0 && $q['t'] > 0 )) {
?>
<div class="menu-box">