Check isset mailman dans l'affichage des quotas, en attendant d'avoir des hooks
This commit is contained in:
parent
1faef827b6
commit
a3d9ed303b
|
@ -255,11 +255,14 @@ foreach ($membres_list as $c) {
|
||||||
foreach ($maildomains_list as $md) {
|
foreach ($maildomains_list as $md) {
|
||||||
$mc += $md['nb_mail'];
|
$mc += $md['nb_mail'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($mailman)) {
|
||||||
// Mailman List Count
|
// Mailman List Count
|
||||||
$mlc = $mailman->count_ml_user($c["uid"]);
|
$mlc = $mailman->count_ml_user($c["uid"]);
|
||||||
echo "</td><td>$dc</td><td>$mc</td><td>$mlc</td><td";
|
echo "</td><td>$dc</td><td>$mc</td><td>$mlc</td><td";
|
||||||
if ($mode!=2) echo " style=\"text-align: right\"";
|
if ($mode!=2) echo " style=\"text-align: right\"";
|
||||||
echo ">";
|
echo ">";
|
||||||
|
} // isset mailman
|
||||||
|
|
||||||
// Espace WEB
|
// Espace WEB
|
||||||
$ws = $quota->get_size_web_sum_user($c["uid"]);
|
$ws = $quota->get_size_web_sum_user($c["uid"]);
|
||||||
|
|
Loading…
Reference in New Issue