[buddypress-trac] [BuddyPress Trac] #9005: PHP Warning: Undefined variable $max

buddypress-trac noreply at wordpress.org
Wed Oct 11 14:17:38 UTC 2023


#9005: PHP Warning:  Undefined variable $max
--------------------------+-----------------------------
 Reporter:  lenasterg     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Blogs         |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Hi.
 I think the variable

 {{{
 $max
 }}}

 in
 [https://buddypress.trac.wordpress.org/browser/trunk/src/bp-blogs/classes
 /class-bp-blogs-template.php#L169]

 should be changed to
 {{{
 $r['max']
 }}}


 The current variable '$max' produces a ''PHP Warning:  Undefined variable
 $max''

 Thanks in advance
 Lena

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9005>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list