From 8b753dc74323526575c114c5d7bd923837f1ed27 Mon Sep 17 00:00:00 2001 From: Arnaud Aujon Chevallier Date: Tue, 5 May 2015 10:05:13 +0200 Subject: [PATCH] fix typo --- htdocs/webservices/server_contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/webservices/server_contact.php b/htdocs/webservices/server_contact.php index 5db38052c7e..cbc126ebb5a 100644 --- a/htdocs/webservices/server_contact.php +++ b/htdocs/webservices/server_contact.php @@ -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