[buddypress-trac] [BuddyPress] #2625: bp-groups-templatetags.php Division By Zero sometimes crashing the site

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Sep 10 19:40:55 UTC 2010


#2625: bp-groups-templatetags.php Division By Zero sometimes crashing the site
-----------------------+----------------------------------------------------
 Reporter:  benfremer  |       Owner:       
     Type:  defect     |      Status:  new  
 Priority:  normal     |   Milestone:  1.2.6
Component:  Core       |    Keywords:       
-----------------------+----------------------------------------------------
 Found a bug that was crashing Buddypress with a divide-by-zero error when
 not logged in in bp-groups-templatetags.php   on line 69

 Adding

 if($this->pag_num == 0)$this->pag_num=1;


 at about line 65 fixes the issue apparently.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/2625>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list