问题描述
在使用发布范围功能后,如果同时选中组织和个人,那么范围内的人只能收到通知,不能在新闻主页看到。
方法
文件:dzz\news\index.php
将sql.="(".implode(' OR ',sql_gid).") and ( n.uids='' OR FIND_IN_SET(%d,n.uids))";
修改为sql.="(".implode(' OR ',sql_gid).") and uids='' OR FIND_IN_SET(%d,uids)";
在使用发布范围功能后,如果同时选中组织和个人,那么范围内的人只能收到通知,不能在新闻主页看到。
文件:dzz\news\index.php
将sql.="(".implode(' OR ',sql_gid).") and ( n.uids='' OR FIND_IN_SET(%d,n.uids))";
修改为sql.="(".implode(' OR ',sql_gid).") and uids='' OR FIND_IN_SET(%d,uids)";