fixed problem with profile editor

This commit is contained in:
Roland Gruber 2011-12-11 13:36:16 +00:00
parent 1b1db983c6
commit 9e4c8e7bc8
1 changed files with 3 additions and 0 deletions

View File

@ -316,6 +316,9 @@ class systemQuotas extends baseModule {
$messages = parent::check_profileOptions($options);
$quotas = explode(';', $options['systemQuotas_quota'][0]);
for ($q = 0; $q < sizeof($quotas); $q++) {
if ($quotas[$q] == '') {
continue;
}
$parts = explode(',', $quotas[$q]);
$messages = array_merge($messages, $this->checkQuota($parts[0], $parts[1], $parts[2], $parts[3], $parts[4]));
}