updated to changed getquotas() function

This commit is contained in:
Roland Gruber 2003-11-09 09:31:02 +00:00
parent 80802d631b
commit ff02918d44
2 changed files with 6 additions and 2 deletions

View File

@ -42,7 +42,9 @@ if (!$_SESSION['ldap'] || !$_SESSION['ldap']->server()) {
// load quota list // load quota list
if ($_SESSION['config']->get_scriptPath()) { if ($_SESSION['config']->get_scriptPath()) {
$acct_q = getquotas("group"); $tempacc = new account();
$tempacc->type = "group";
$acct_q = getquotas(array($tempacc));
} }
// print header // print header

View File

@ -42,7 +42,9 @@ if (!$_SESSION['ldap'] || !$_SESSION['ldap']->server()) {
// load quota list // load quota list
if ($_SESSION['config']->get_scriptPath()) { if ($_SESSION['config']->get_scriptPath()) {
$acct_q = getquotas("user"); $tempacc = new account();
$tempacc->type = "user";
$acct_q = getquotas(array($tempacc));
} }
// print header // print header