diff --git a/common/lang/lang.xml b/common/lang/lang.xml index 59598bf1e..c557b7626 100644 --- a/common/lang/lang.xml +++ b/common/lang/lang.xml @@ -3002,6 +3002,10 @@ Xin vui lòng kiểm tra lại thông tin Database.]]> + + + + diff --git a/modules/communication/communication.controller.php b/modules/communication/communication.controller.php index 5fac8f36d..4339895cb 100644 --- a/modules/communication/communication.controller.php +++ b/modules/communication/communication.controller.php @@ -325,10 +325,12 @@ $logged_info = Context::get('logged_info'); $member_srl = $logged_info->member_srl; // Check variables - $friend_srl_list = trim(Context::get('friend_srl_list')); - if(!$friend_srl_list) return new Object(-1, 'msg_cart_is_null'); + $friend_srl_list = Context::get('friend_srl_list'); - $friend_srl_list = explode('|@|', $friend_srl_list); + if(!is_array($friend_srl_list)) + { + $friend_srl_list = explode('|@|', $friend_srl_list); + } if(!count($friend_srl_list)) return new Object(-1, 'msg_cart_is_null'); $friend_count = count($friend_srl_list); diff --git a/modules/communication/skins/default/friends.html b/modules/communication/skins/default/friends.html index 91b835e94..42019b88c 100644 --- a/modules/communication/skins/default/friends.html +++ b/modules/communication/skins/default/friends.html @@ -37,7 +37,7 @@ {$lang->friend_group} {$lang->nick_name} {$lang->regdate} - + @@ -45,7 +45,7 @@ {$val->group_title?$val->group_title:" "} {$val->nick_name} {zdate($val->regdate,"Y-m-d")} - +