diff options
author | Camil Staps | 2016-07-27 15:47:23 +0200 |
---|---|---|
committer | Camil Staps | 2016-07-27 15:47:23 +0200 |
commit | 1449555d15916ff7987e68861b587a920463a9b0 (patch) | |
tree | d37a850d17df366518a6fa0046152e841bf82798 /include/contacts-edit.php | |
parent | Remove payment when new value is unparsable (diff) |
Edit contact languages
Diffstat (limited to 'include/contacts-edit.php')
-rw-r--r-- | include/contacts-edit.php | 3 |
1 files changed, 3 insertions, 0 deletions
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; |