ispman/ispman-web/cgi-bin/tmpl/users search.tmpl,1.11,1.12

Atif Ghaffar <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/users
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25392

Modified Files:
	search.tmpl 
Log Message:
fix to correct array name. We handle single and multiple uid. For reference we use the first uid

Index: search.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/users/search.tmpl,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- search.tmpl	13 Apr 2005 22:33:02 -0000	1.11
+++ search.tmpl	13 Apr 2005 23:07:39 -0000	1.12
@@ -73,7 +73,7 @@
 
         $text.=join "\n", map {"<td> @{[$users->{$user}{$_}||'&nbsp;']}</td>"} qw (givenName sn mailLocalAddress);
 
-        $text.="<td><a href=@{[$r->url]}?mode=editUser&ispmanDomain=@{[$r->param('ispmanDomain')]}&uid=@{[$users->{$user}->{'uid'}[0]]}>Edit</a></td>";
+        $text.="<td><a href=@{[$r->url]}?mode=editUser&ispmanDomain=@{[$r->param('ispmanDomain')]}&uid=@{[$uidList[0]]}>Edit</a></td>";
         $text.="</tr>";
 
 }



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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.