[Bb-trac] [bbPress] #569: function topic_close_link is broken, always reports topic as closed.

bbPress bb-trac at lists.bbpress.org
Tue Feb 6 01:52:29 GMT 2007


#569: function topic_close_link is broken, always reports topic as closed.
----------------------------+-----------------------------------------------
 Reporter:  sambauers       |       Owner:           
     Type:  defect          |      Status:  new      
 Priority:  high            |   Milestone:  0.80     
Component:  Administration  |     Version:  0.80     
 Severity:  major           |    Keywords:  has-patch
----------------------------+-----------------------------------------------
 Mistyped column name in if statement...

 Here's a patch:
 {{{
 Index: bb-includes/template-functions.php
 ===================================================================
 --- bb-includes/template-functions.php  (revision 673)
 +++ bb-includes/template-functions.php  (working copy)
 @@ -695,1 +695,1 @@
 -       if ( topic_is_open( $_topic->id ) )
 +       if ( topic_is_open( $_topic->topic_id ) )
 }}}

 Display bug only, as when clicked, the link does toggle the topic between
 closed/open.

-- 
Ticket URL: <http://trac.bbpress.org/ticket/569>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list