From 5f0152eceb9ca6b7dbacb3a56fa8d7a9dff4d67c Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Mon, 16 Mar 2009 20:25:10 +0000 Subject: [PATCH] Fixed: FS#634 - Stats --- interface/lib/classes/tform.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interface/lib/classes/tform.inc.php b/interface/lib/classes/tform.inc.php index 11adc15b54..68104191a7 100644 --- a/interface/lib/classes/tform.inc.php +++ b/interface/lib/classes/tform.inc.php @@ -865,6 +865,8 @@ class tform { $app->error("Primary ID fehlt!"); } } + //* return a empty string if there is nothing to update + if(trim($sql_update) == '') $sql = ''; } return $sql; -- GitLab