From b9ce1a88f5f945c6f7ac0ba675048e75471421c6 Mon Sep 17 00:00:00 2001
From: xaver <xaver@ispconfig3>
Date: Mon, 19 Mar 2012 20:39:26 -0400
Subject: [PATCH] PHP 5.4 fixes for Notice Errors

---
 interface/web/client/form/reseller.tform.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/web/client/form/reseller.tform.php b/interface/web/client/form/reseller.tform.php
index 5447070..220e7ef 100644
--- a/interface/web/client/form/reseller.tform.php
+++ b/interface/web/client/form/reseller.tform.php
@@ -220,7 +220,7 @@
 			'datatype'	=> 'VARCHAR',
 
 			'formtype'	=> 'SELECT',
-			'default'	=> $conf["country"],
+			'default'	=> (isset($conf["country"]) ? $conf["country"] : ''),
 			'datasource'	=> array ( 	'type'	=> 'SQL',
 										'querystring' => 'SELECT iso,printable_name FROM country ORDER BY printable_name',
 										'keyfield'=> 'iso',

--
Gitblit v1.9.1