Commit 1ce5102f authored by Chris Graham's avatar Chris Graham
Browse files

Fixed MANTIS-4236 (Starter filter not working for private topic search)

parent 77ee3c46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -138,7 +138,7 @@ class Hook_search_cns_own_pt extends FieldsSearchHook
            $where_clause .= $sq;
        }
        $this->_handle_date_check($cutoff, 'p_time', $where_clause);
        if (get_param_integer('option_cns_posts_starter', 0) == 1) {
        if (get_param_integer('option_cns_own_pt_starter', 0) == 1) {
            $where_clause .= ' AND ';
            $where_clause .= 's.t_cache_first_post_id=r.id';
        }