ispman/lib/ISPMan ResellerMan.pm,1.8,1.9

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-serv25680/lib/ISPMan

Modified Files:
	ResellerMan.pm 
Log Message:
fixes bug [ 937936 ] resellers/clients not deletable
(based on patch from micha137)

Index: ResellerMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/ResellerMan.pm,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- ResellerMan.pm	27 Jun 2004 08:49:49 -0000	1.8
+++ ResellerMan.pm	1 Jul 2004 18:58:11 -0000	1.9
@@ -184,12 +184,12 @@
     my $self = shift;
     if ( $self->{'session'}->param("logintype") ne "admin" ) {
 
-        #Only Admin can add resellers
+        #Only Admin can delete resellers
         print "Ouch!! Go away, I don't want to play with you no more.";
         exit;
     }
     my $id = shift;
-    $self->{'ispman'}->delTree( $self->getResellerDnById($id) );
+    $self->delTree( $self->getResellerDnById($id) );
 }
 
 sub ModifyReseller {



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
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.