Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#2625 closed defect (bug) (fixed)

bp-groups-templatetags.php Division By Zero sometimes crashing the site

Reported by: benfremer's profile benfremer Owned by:
Milestone: 1.2.6 Priority: normal
Severity: Version:
Component: Core Keywords:
Cc:

Description

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.

Change History (2)

#1 @johnjamesjacoby
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3245]) Clean-up pagination in all components. Fixes #2625. Props BenFremer on your first trac ticket!

#2 @johnjamesjacoby
14 years ago

(In [3247]) Fixes #2625 (trunk)

Note: See TracTickets for help on using tickets.