ispman/lib/ISPMan UserMan.pm,1.35.2.5,1.35.2.6

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

Modified Files:
      Tag: rel_1_1-bugfixes
	UserMan.pm 
Log Message:
quick fix for "error when creating an Domain user".
This won't work for multiple defined default file hosts, though

If this bugs you, upgrade to 1.2 where this is fixed 

Index: UserMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/UserMan.pm,v
retrieving revision 1.35.2.5
retrieving revision 1.35.2.6
diff -u -d -r1.35.2.5 -r1.35.2.6
--- UserMan.pm	17 Apr 2004 14:42:03 -0000	1.35.2.5
+++ UserMan.pm	30 May 2004 23:55:25 -0000	1.35.2.6
@@ -567,7 +567,7 @@
 	my $_filehost;
 			 
 	if ($_filehost=$self->getDomainAttribute($domain, "ispmanDomainDefaultFileServer")){
-		return  @$_filehost[0];
+		return  $_filehost;
 	}elsif ($_filehost=$self->getHostGroupFirstMember('fileservergroup')) {
 		return  $_filehost;
 	} else {



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
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.