From 175bc63657bdafc362d66d79e8ee180211cb3f07 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Sat, 30 Jan 2010 14:44:46 +0000 Subject: [PATCH] typo in variable, should fix customer-file-deletion --- scripts/jobs/cron_tasks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/jobs/cron_tasks.php b/scripts/jobs/cron_tasks.php index 19e70bde..1fefba6c 100644 --- a/scripts/jobs/cron_tasks.php +++ b/scripts/jobs/cron_tasks.php @@ -216,7 +216,7 @@ while($row = $db->fetch_array($result_tasks)) if($homedir != '/' && $homedir != $settings['system']['documentroot_prefix'] - && substr($homedirdir, 0, strlen($settings['system']['documentroot_prefix'])) == $settings['system']['documentroot_prefix']) + && substr($homedir, 0, strlen($settings['system']['documentroot_prefix'])) == $settings['system']['documentroot_prefix']) { $cronlog->logAction(CRON_ACTION, LOG_NOTICE, 'Running: rm -rf ' . escapeshellarg($homedir)); safe_exec('rm -rf '.escapeshellarg($homedir));