ispman/lib/ISPMan ApacheMan.pm,1.65,1.66

Joerg Delker <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/lib/ISPMan
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19683/lib/ISPMan

Modified Files:
	ApacheMan.pm 
Log Message:
perltidy (2nd run)

Index: ApacheMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/ApacheMan.pm,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- ApacheMan.pm	30 May 2004 23:35:37 -0000	1.65
+++ ApacheMan.pm	31 May 2004 20:13:41 -0000	1.66
@@ -100,7 +100,8 @@
       ->fill_in( PACKAGE => "ISPMan" );
 
     if ( $self->isDomainEditable( $r->param("ispmanDomain") ) ) {
-        $tmpl = ( $r->param("section") )
+        $tmpl =
+          ( $r->param("section") )
           ? join "_", ( "edit", $r->param("section") )
           : "edit";
         $template = $self->getTemplate("vhosts/$tmpl\.tmpl");
@@ -390,10 +391,11 @@
 
             # only single webhost is defined
             # (ispmanVhostIpAddress overrides webhost ip)
-            my $ip =
-              ( ( $r->param("ispmanVhostIpAddress") eq "*" )
+            my $ip = (
+                ( $r->param("ispmanVhostIpAddress") eq "*" )
                 ? $self->getHostIp( $webhosts[0] )
-                : $vhostIp );
+                : $vhostIp
+            );
             $self->addVhostDNSRecord( $r->param("ispmanDomain"),
                 $r->param("ispmanVhostName"), $ip );
         }



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.