From 18eb8c5f68834d69d0f2c38afc8934c55e3e7f74 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 5 Feb 2014 15:05:54 +0530 Subject: [PATCH] fixed unicode and null issue in sms center --- utilities/doctype/sms_control/sms_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/doctype/sms_control/sms_control.py b/utilities/doctype/sms_control/sms_control.py index 5a9777a8a8..8b5a50afe1 100644 --- a/utilities/doctype/sms_control/sms_control.py +++ b/utilities/doctype/sms_control/sms_control.py @@ -55,7 +55,7 @@ class DocType: def send_form_sms(self, arg): "called from client side" args = load_json(arg) - self.send_sms([str(args['number'])], str(args['message'])) + self.send_sms([cstr(args['number'])], cstr(args['message'])) def send_sms(self, receiver_list, msg, sender_name = ''): receiver_list = self.validate_receiver_nos(receiver_list)