From 40b9bd13cf701203cdeead964d0613d1573c5465 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 04 Oct 2012 05:38:02 -0400
Subject: [PATCH] Fixed: FS#2449 - Appended \t#domain to cron jobs breaks certain commands

---
 server/plugins-available/cron_plugin.inc.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/plugins-available/cron_plugin.inc.php b/server/plugins-available/cron_plugin.inc.php
index 23dbc28..fd83331 100644
--- a/server/plugins-available/cron_plugin.inc.php
+++ b/server/plugins-available/cron_plugin.inc.php
@@ -217,10 +217,10 @@
                 }
                 
                 if($job['type'] == 'chrooted') {
-                    $chr_cron_content .= $command . "\t#{$job['domain']}\n";
+                    $chr_cron_content .= $command . " #{$job['domain']}\n";
                     $chr_cmd_count++;
                 } else {
-                    $cron_content .= $command . "\t#{$job['domain']}\n";
+                    $cron_content .= $command . " #{$job['domain']}\n";
                     $cmd_count++;
                 }
             }

--
Gitblit v1.9.1