View Single Post
  #4  
Old 30th November 2011, 13:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,500 Times in 4,329 Posts
Default

The $client->client_add function retuns the ID of the newly created client, so.

$client_id = $client->client_add(.......)
$client->client_update($this->getSession (), $client_id, $record);
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote