ispman/ispman-web/cgi-bin/tmpl/domains/edit domainservices.tmpl,1.7,1.8
Joerg Delker <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/edit
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23085
Modified Files:
domainservices.tmpl
Log Message:
fixes bug with single domain service not showing up in edit domain dialog
Index: domainservices.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/edit/domainservices.tmpl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- domainservices.tmpl 6 Feb 2004 23:33:14 -0000 1.7
+++ domainservices.tmpl 14 Jun 2004 08:14:38 -0000 1.8
@@ -7,10 +7,10 @@
my %selectedServices;
my $text="";
- for (@{$ispman->{'domain'}{'ispmanDomainService'}}){
+ for ($ispman->as_array($ispman->{'domain'}{'ispmanDomainService'})){
$selectedServices{$_}=1;
}
-
+
for (keys %$services){
my $serviceName=$services->{$_}{'ispmanDomainServiceName'};
if (defined $selectedServices{$serviceName}){
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504