#2625 closed defect (bug) (fixed)
bp-groups-templatetags.php Division By Zero sometimes crashing the site
| Reported by: | benfremer | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2.6 |
| Component: | Core | Version: | |
| Severity: | 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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [3245]) Clean-up pagination in all components. Fixes #2625. Props BenFremer on your first trac ticket!