
| Title | Guests may see unvalidated guest posts |
|---|---|
| Description | Guests can see unvalidated content by other guests. |
| Affects | OCF users |
| Fix | Change line 22 of sources/ocf_topicview.php from:Code
if (!has_specific_permission(get_member(),'see_unvalidated')) $where.=' AND (p_validated=1 OR p_poster='.(string)intval(get_member()).')';
Code
if (!has_specific_permission(get_member(),'see_unvalidated')) $where.=' AND (p_validated=1 OR ((p_poster<>'.strval($GLOBALS['FORUM_DRIVER']->get_guest_id()).' OR '.db_string_equal_to('p_ip_address',get_ip_address()).') AND p_poster='.(string)intval(get_member()).'))';
|
There have been no trackbacks yet