fixed loop in profile editor

This commit is contained in:
Roland Gruber 2013-06-17 18:25:38 +00:00
parent a0e3eec1af
commit b3af716ced
1 changed files with 1 additions and 0 deletions

View File

@ -484,6 +484,7 @@ class quota extends baseModule {
for ($i = 0; $i < sizeof($dirs); $i++) {
if (strpos($dirs[$i], quota::$QUOTA_PREFIX) !== 0) {
unset($dirs[$i]);
$dirs = array_values($dirs);
$i--;
continue;
}