N'affiche pas le menu de mail si pas utile
This commit is contained in:
parent
8096d2b3bb
commit
73aad5d823
|
@ -25,7 +25,8 @@
|
||||||
|
|
||||||
$q = $quota->getquota("mail");
|
$q = $quota->getquota("mail");
|
||||||
$r = $quota->getquota("dom");
|
$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">
|
<div class="menu-box">
|
||||||
|
|
Loading…
Reference in New Issue