This commit is contained in:
Arnaud Aujon Chevallier 2015-05-05 10:05:13 +02:00
parent d27934419c
commit 8b753dc743

View File

@ -627,7 +627,7 @@ function updateContact($authentication,$contact)
$error=0;
$fuser=check_authentication($authentication,$error,$errorcode,$errorlabel);
// Check parameters
if (empty($contact['id']) && empty($contact['ref_ext']) {
if (empty($contact['id']) && empty($contact['ref_ext'])) {
$error++; $errorcode='KO'; $errorlabel="Contact id or ref_ext is mandatory.";
}
// Check parameters