ispman/lib/ISPMan DomainMan.pm,1.74,1.75
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-serv31583/lib/ISPMan
Modified Files:
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.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- DomainMan.pm 26 Jun 2004 08:40:23 -0000 1.74
+++ DomainMan.pm 26 Jun 2004 11:23:58 -0000 1.75
@@ -203,7 +203,14 @@
return if $self->domainExists( $r->param("ispmanDomain") );
- # 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