fixed missed statement-fetch in cron-task when adding a new ftp-user
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -175,7 +175,7 @@ while ($row = $result_tasks_stmt->fetch(PDO::FETCH_ASSOC)) {
|
|||||||
WHERE `f`.`username` NOT LIKE '%_backup'
|
WHERE `f`.`username` NOT LIKE '%_backup'
|
||||||
");
|
");
|
||||||
|
|
||||||
while ($directory = $db->fetch_array($result_directories)) {
|
while ($directory = $result_directories_stmt->fetch(PDO::FETCH_ASSOC)) {
|
||||||
mkDirWithCorrectOwnership($directory['customerroot'], $directory['homedir'], $directory['uid'], $directory['gid']);
|
mkDirWithCorrectOwnership($directory['customerroot'], $directory['homedir'], $directory['uid'], $directory['gid']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user