ispman/lib/ISPMan MailGroupMan.pm,1.9,1.10

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-cvs2.sourceforge.net:/tmp/cvs-serv4205/lib/ISPMan

Modified Files:
	MailGroupMan.pm 
Log Message:
fixed bug [ 1516412 ] changing of existing mailgroups does not work

Index: MailGroupMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/MailGroupMan.pm,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- MailGroupMan.pm	13 May 2006 11:37:46 -0000	1.9
+++ MailGroupMan.pm	3 Jul 2006 22:09:27 -0000	1.10
@@ -151,10 +151,11 @@
 sub updateMailGroup {
     my $self = shift;
     my $r    = shift;
-    my $dn   = $r->param("dn");
+
+    my $dn = $self->getMailGroupDN( $r->param("ispmanDomain"), $r->param("mailGroup") );
 
     my $data = {};
-    $data->{'cn'}                    = $r->param("cn");
+    $data->{'cn'}                    = $r->param("mailGroup");
     $data->{'mailForwardingAddress'} =
       [ split( /\s+/, $r->param("mailForwardingAddress") ) ];
     $data->{'mailAlias'} = [ split( /\s+/, $r->param("mailAlias") ) ];


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
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.