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: 34,586
Thanks: 792
Thanked 4,982 Times in 3,903 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