From 38184e1ed7c8a477747c256cb08a047fe6ca29a4 Mon Sep 17 00:00:00 2001
From: Carsten Schoene <ispconfig-dev@j0ke.net>
Date: Fri, 27 Dec 2013 16:59:18 -0500
Subject: [PATCH] + complete SOA records  - refresh, retry, expire and minimum were missing in the SOA record which was/is OK   because pdns has defaults for this, but this gives the user   the full options which are configurable from the UI

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

diff --git a/interface/web/admin/users_edit.php b/interface/web/admin/users_edit.php
index d94ef61..5eab80a 100644
--- a/interface/web/admin/users_edit.php
+++ b/interface/web/admin/users_edit.php
@@ -77,7 +77,7 @@
 		global $app, $conf;
 
 		$client = $app->db->queryOneRecord("SELECT * FROM sys_user WHERE userid = ".$this->id);
-		$client_id = $client['client_id'];
+		$client_id = $app->functions->intval($client['client_id']);
 		$username = $app->db->quote($this->dataRecord["username"]);
 		$old_username = $app->db->quote($this->oldDataRecord['username']);
 

--
Gitblit v1.9.1