ispman/lib/ISPMan DomainMan.pm,1.73,1.73.2.1

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

Modified Files:
      Tag: rel_1_2-bugfixes
	DomainMan.pm 
Log Message:
fixed bug [ 967174 ] resellers domians not visible in resellerUI

Index: DomainMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/DomainMan.pm,v
retrieving revision 1.73
retrieving revision 1.73.2.1
diff -u -d -r1.73 -r1.73.2.1
--- DomainMan.pm	20 Jun 2004 19:04:42 -0000	1.73
+++ DomainMan.pm	26 Jun 2004 11:28:14 -0000	1.73.2.1
@@ -116,7 +116,14 @@
     # reset $r->param("domain") for backword compatibility.
     $r->param( "domain", $domain );
 
-    # set reseller/client ids
+    # find reseller if clientId is set
+    if ( $r->param("ispmanClientId") ) {
+        $r->param( "ispmanResellerId",
+            $self->getClientAttributeById(
+              $r->param("ispmanClientId"),"ispmanResellerId" ) );
+    }
+
+    # set reseller/client ids (from reseller/client session)
     if ( $self->{'session'} ) {
         if ( $self->{'session'}->param("logintype") eq "reseller" ) {
             $r->param( "ispmanResellerId",



-------------------------------------------------------
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.