View Single Post
  #6  
Old 17th November 2011, 15:55
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,250 Times in 4,115 Posts
Default

Yes. But you can make the code more simple:

$sys_user_record = $client->client_get_by_username($session_id, $username);
$client_record = $client->client_get_id($session_id, $sys_user_record['userid']);
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote