diff --git a/bureau/admin/quotas_oneuser.php b/bureau/admin/quotas_oneuser.php index 66517551..48cbaa82 100644 --- a/bureau/admin/quotas_oneuser.php +++ b/bureau/admin/quotas_oneuser.php @@ -9,7 +9,7 @@ if (!isset($mode)) { # when included from adm_login, mode is not set ?>
"._("Web Space:")." "; echo sprintf("%.1f", $totalweb / 1024)." "._("MB"); @@ -38,7 +38,7 @@ if (!isset($mode)) { # when included from adm_login, mode is not set
enum_domains($c["uid"]); + $domaines_user = $dom->enum_domains($mem->user["uid"]); $totalmail=0; foreach ($domaines_user as $domaine) { $mstmp = $quota->get_size_mail_sum_domain($domaine); @@ -99,7 +99,7 @@ if (!isset($mode)) { # when included from adm_login, mode is not set get_size_db_sum_user($c["login"]); + $totaldb = $quota->get_size_db_sum_user($mem->user["login"]); echo ""._("Databases:")." "; echo sprintf("%.1f", $totaldb/(1024*1024))." "._("MB"); @@ -116,7 +116,7 @@ if (!isset($mode)) { # when included from adm_login, mode is not set
get_size_db_details_user($c["login"]); + $db_sizes = $quota->get_size_db_details_user($mem->user["login"]); foreach ($db_sizes as $d) { echo "