CVS: ispman/lib/ISPMan ApacheMan.pm,1.39,1.40

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:/tmp/cvs-serv6921

Modified Files:
	ApacheMan.pm 
Log Message:
fixed bug on vhost update (unable to cleanout vhost ExtraConf)


Index: ApacheMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/ApacheMan.pm,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -r1.39 -r1.40
*** ApacheMan.pm	8 Jan 2004 00:36:11 -0000	1.39
--- ApacheMan.pm	8 Jan 2004 23:32:39 -0000	1.40
***************
*** 179,183 ****
     
     if ($r->param("ispmanVhostServerAlias")){
- 
        my $serveralias=[split(/\s\s*/, $r->param("ispmanVhostServerAlias"))];
        $r->param("ispmanVhostServerAlias", $serveralias) if $serveralias;
--- 179,182 ----
***************
*** 192,197 ****
             FTPQuotaMBytes FTPStatus ispmanVhostStats ispmanVhostLogdir
             ispmanVhostStatdir)) {
!       if ($r->param($_)) {
!             $data->{$_}=$r->param($_);
        }
     }
--- 191,198 ----
             FTPQuotaMBytes FTPStatus ispmanVhostStats ispmanVhostLogdir
             ispmanVhostStatdir)) {
!       if (defined $r->param($_)) {
!           $data->{$_}=$r->param($_);
!       } else {
!           $data->{$_}="";
        }
     }



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
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.