Opened 16 years ago
Closed 16 years ago
#212 closed defect (bug) (fixed)
Blogs Get Posts SQL Error
Reported by: | trent | Owned by: | apeatling |
---|---|---|---|
Milestone: | Priority: | major | |
Severity: | Version: | ||
Component: | Keywords: | ||
Cc: |
Description
In r635 there is another small error.
WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'p.user_id = 1' at line 1 for query SELECT count(p.post_id) FROM wp_bp_user_blogs_posts p LEFT JOIN wp_blogs b ON p.blog_id = b.blog_id WHERE b.deleted = 0 AND b.archived = '0' AND b.spam = 0 AND b.mature = 0 p.user_id = 1 made by BP_Blogs_Post::get_posts_for_user
Note: See
TracTickets for help on using
tickets.