[Bb-trac] [bbPress] #1010: Can't delete first POST in a topic if
it's the only post
bbPress
bb-trac at lists.bbpress.org
Tue Dec 16 23:59:38 GMT 2008
#1010: Can't delete first POST in a topic if it's the only post
----------------------------+-----------------------------------------------
Reporter: ipstenu | Owner:
Type: defect | Status: new
Priority: low | Milestone:
Component: Administration | Version: 1.0-beta (trunk)
Severity: minor | Keywords: topic, delete, post
----------------------------+-----------------------------------------------
I consider this a case of user-error finding a common-sense bug that
should be caught.
If you delete the '''only''' post in a topic, this error occurs.
{{{
Warning: Invalid argument supplied for foreach() in
/homepages/46/d93980635/htdocs/trunk/bb-includes/functions.php on line 527
}}}
The code should say 'hey, this is the only post, he must mean delete
topic' and move on, or the 'delete post' option shouldn't even be there if
it's the only post in a topic.
Not a deal breaker, but it's nice to have for that professionalism angle.
--
Ticket URL: <http://trac.bbpress.org/ticket/1010>
bbPress <http://bbpress.org/>
Innovative forum development
More information about the Bb-trac
mailing list