From c56ca0d827134a1062d5a7df13fb848fd2f39335 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Wed, 25 Apr 2012 10:34:17 -0400
Subject: [PATCH] - Added PHP-FPM to client and reseller settings.

---
 interface/web/client/tools.inc.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/web/client/tools.inc.php b/interface/web/client/tools.inc.php
index abc85ae..ac9bde1 100644
--- a/interface/web/client/tools.inc.php
+++ b/interface/web/client/tools.inc.php
@@ -128,7 +128,7 @@
 			$update .= '`' . $k . "`='" . $v . "'";
 		}
 	}
-	$sql = 'UPDATE client SET ' . $update . " WHERE client_id = " . intval($clientId);
+	if($update != '') $sql = 'UPDATE client SET ' . $update . " WHERE client_id = " . intval($clientId);
 	$app->db->query($sql);
 }
 ?>

--
Gitblit v1.9.1