Commit f95889c6 authored by Helmo's avatar Helmo

correct parameters

parent 94bc9194
......@@ -66,13 +66,13 @@ class remoting_domains extends remoting {
}
//* Update a record
public function domains_domain_update($session_id, $client_id, $params)
public function domains_domain_update($session_id, $client_id, $primary_id, $params)
{
if(!$this->checkPerm($session_id, 'domains_domain_update')) {
throw new SoapFault('permission_denied', 'You do not have the permissions to access this function.');
return false;
}
return $this->updateQuery('../client/form/domain.tform.php', $client_id, $params);
return $this->updateQuery('../client/form/domain.tform.php', $client_id, $primary_id, $params);
}
//* Delete a record
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment