From 1449555d15916ff7987e68861b587a920463a9b0 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 27 Jul 2016 15:47:23 +0200 Subject: Edit contact languages --- include/contacts-edit.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/contacts-edit.php') diff --git a/include/contacts-edit.php b/include/contacts-edit.php index a2101b2..a5b3bdd 100644 --- a/include/contacts-edit.php +++ b/include/contacts-edit.php @@ -46,6 +46,9 @@ try { case 'country': $response->success = $contact->setCountry($_REQUEST['value']); break; + case 'language': + $response->success = $contact->setLanguage($_REQUEST['value']); + break; default: $response->http_response_code(404); $response->success = false; -- cgit v1.2.3