From a9c5c19aee8db8f4aa301eb9c26a498f2fd3ec0c Mon Sep 17 00:00:00 2001
From: cfoe <cfoe@ispconfig3>
Date: Wed, 11 Jul 2012 04:05:05 -0400
Subject: [PATCH] rc1 of default-v2
---
interface/web/sites/cron_edit.php | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/interface/web/sites/cron_edit.php b/interface/web/sites/cron_edit.php
index a3244f0..54d021a 100644
--- a/interface/web/sites/cron_edit.php
+++ b/interface/web/sites/cron_edit.php
@@ -168,8 +168,9 @@
if($has_error == true) {
parent::onError();
exit;
- }
- else parent::onInsertSave($sql);
+ } else {
+ return parent::onInsertSave($sql);
+ }
}
function onAfterInsert() {
--
Gitblit v1.9.1