mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Merge pull request #17822 from frederic34/zapier_create_contacts
add more capabilities for zapier
This commit is contained in:
@@ -75,7 +75,7 @@ class Contacts extends DolibarrApi
|
||||
throw new RestException(401, 'No permission to read contacts');
|
||||
}
|
||||
|
||||
if ($id == 0) {
|
||||
if ($id === 0) {
|
||||
$result = $this->contact->initAsSpecimen();
|
||||
} else {
|
||||
$result = $this->contact->fetch($id);
|
||||
|
||||
Reference in New Issue
Block a user