[Bb-trac] [bbPress] #583: Typo in bb-includes/akismet.php causes error when making someone a bozo

bbPress bb-trac at lists.bbpress.org
Mon Feb 12 04:38:17 GMT 2007


#583: Typo in bb-includes/akismet.php causes error when making someone a bozo
----------------------------+-----------------------------------------------
 Reporter:  chrishajer      |       Owner:                  
     Type:  defect          |      Status:  new             
 Priority:  lowest          |   Milestone:  1.0             
Component:  Administration  |     Version:  0.80            
 Severity:  minor           |    Keywords:  bozo akismet.php
----------------------------+-----------------------------------------------
 See http://bbpress.org/forums/topic/723?replies=5#post-4374

 this line in bb-includes/akismet.php contains a typo:
 http://trac.bbpress.org/browser/trunk/bb-includes/akismet.php#L79

 current:
 {{{
 comment_author' => get_user_name( $user-ID ),
 }}}

 corrected:
 {{{
 comment_author' => get_user_name( $user->ID ),
 }}}

 Causes the following error when marking someone a bozo:
 {{{
 Fatal error: Unsupported operand types in bb-includes/akismet.php on line
 79
 }}}

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


More information about the Bb-trac mailing list