From c3d8a84506001e2cb227e5f652717a59fa4ced74 Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Tue, 07 Jan 2014 08:39:13 -0500
Subject: [PATCH] Updated incremental svn files.
---
interface/web/client/client_edit.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/interface/web/client/client_edit.php b/interface/web/client/client_edit.php
index b98a368..b3c0ac5 100644
--- a/interface/web/client/client_edit.php
+++ b/interface/web/client/client_edit.php
@@ -172,6 +172,7 @@
$app->tpl->setVar('template_additional_list', $text);
$app->tpl->setVar('app_module', 'client');
+
//* Set the 'customer no' default value
if($this->id == 0) {
@@ -207,11 +208,10 @@
//* save new counter value
$customer_no_counter = $app->functions->intval($reseller['customer_no_counter']+1);
$app->db->query("UPDATE client SET customer_no_counter = $customer_no_counter WHERE client_id = ".$app->functions->intval($reseller['client_id']));
- echo "UPDATE client SET customer_no_counter = $customer_no_counter WHERE client_id = ".$app->functions->intval($reseller['client_id']);
}
}
}
-
+
parent::onShowEnd();
}
--
Gitblit v1.9.1