From eb45bfae75fc4ea4d2dc3466df6e032a4f43b509 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Fri, 31 Oct 2014 18:16:15 +0300 Subject: [PATCH] Fixed import phonebook Closes #549 --- app/js/services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/services.js b/app/js/services.js index 067b0c52..5858fd5b 100644 --- a/app/js/services.js +++ b/app/js/services.js @@ -401,7 +401,7 @@ angular.module('myApp.services', ['myApp.i18n']) phones: [] }; - if (this.result.tel !== undefined) { + if (this.result.tel != undefined) { for (var i = 0; i < this.result.tel.length; i++) { contact.phones.push(this.result.tel[i].value); }