diff --git a/extension/xuanxuan/extension/xuan/im/ext/model/class/xuanxuan.class.php b/extension/xuanxuan/extension/xuan/im/ext/model/class/xuanxuan.class.php index a145c66900..97e3bc968f 100644 --- a/extension/xuanxuan/extension/xuan/im/ext/model/class/xuanxuan.class.php +++ b/extension/xuanxuan/extension/xuan/im/ext/model/class/xuanxuan.class.php @@ -146,6 +146,7 @@ class xuanxuanIm extends imModel $userID = $this->dao->select('id')->from(TABLE_USER)->where('account')->eq($user)->fetch('id'); $account = $user; } + if(empty($userID)) return; $actor = !empty($account) ? $account : ''; $extra = json_encode(array('actorId' => $userID));