From b23fcaa683134162a0d5d84dfa56a9f429b872f7 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Thu, 24 Jan 2013 09:47:33 -0500
Subject: [PATCH] - Fixed FS#2625 - Cron Jobs created by admin do not show up for client.

---
 interface/web/sites/cron_edit.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/web/sites/cron_edit.php b/interface/web/sites/cron_edit.php
index a78af2d..43d047f 100644
--- a/interface/web/sites/cron_edit.php
+++ b/interface/web/sites/cron_edit.php
@@ -182,7 +182,7 @@
         // The cron shall be owned by the same group then the website
         $sys_groupid = $web['sys_groupid'];
         
-        $sql = "UPDATE shell_user SET server_id = $server_id, sys_groupid = '$sys_groupid' WHERE id = ".$this->id;
+        $sql = "UPDATE cron SET server_id = $server_id, sys_groupid = '$sys_groupid' WHERE id = ".$this->id;
         $app->db->query($sql);
 	}
 	

--
Gitblit v1.9.1