ispman/ispman-web/cgi-bin/tmpl/domains/add defaultdbhost.tmpl, 1.1, 1.2

Joerg Delker <[email protected]> Mon, 29 Dec 2008 17:04:30 +0000
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/add
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv3682/ispman-web/cgi-bin/tmpl/domains/add

Modified Files:
	defaultdbhost.tmpl 
Log Message:
fixed bug with wrong variable

Index: defaultdbhost.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/add/defaultdbhost.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- defaultdbhost.tmpl	29 Dec 2008 16:16:44 -0000	1.1
+++ defaultdbhost.tmpl	29 Dec 2008 17:04:28 -0000	1.2
@@ -5,13 +5,13 @@
         <select name="ispmanDomainDefaultDBHost">
         <perl>
         my $text="";
-        my @ispmanDomainDefaultWebHosts=$ispman->getGroupMembers("databasegroup");
+        my @ispmanDomainDefaultDBHosts=$ispman->getGroupMembers("databasegroup");
 
         for (@ispmanDomainDefaultDBHosts){
             $text.="<option VALUE='$_'>$_</option>";
         }
 
-        if  ($#ispmanDomainDefaultWebHosts<0){
+        if  ($#ispmanDomainDefaultDBHosts<0){
             $text.="<option VALUE=''>";
             $text.=_("WARNING: No members in group [_1] defined", "databasegroup");
             $text.="</option>";


------------------------------------------------------------------------------