Skip to content

Commit c42fed0

Browse files
committed
correct parameters
1 parent 1d0a8d1 commit c42fed0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/lib/classes/remote.d/domains.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ public function domains_domain_add($session_id, $client_id, $params)
6666
}
6767

6868
//* Update a record
69-
public function domains_domain_update($session_id, $client_id, $params)
69+
public function domains_domain_update($session_id, $client_id, $primary_id, $params)
7070
{
7171
if(!$this->checkPerm($session_id, 'domains_domain_update')) {
7272
throw new SoapFault('permission_denied', 'You do not have the permissions to access this function.');
7373
return false;
7474
}
75-
return $this->updateQuery('../client/form/domain.tform.php', $client_id, $params);
75+
return $this->updateQuery('../client/form/domain.tform.php', $client_id, $primary_id, $params);
7676
}
7777

7878
//* Delete a record

0 commit comments

Comments
 (0)