Skip to content

Commit

Permalink
fix php notice in categories/all
Browse files Browse the repository at this point in the history
  • Loading branch information
bleistivt committed Aug 27, 2014
1 parent 4c836f0 commit 55eb14a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion class.infinitescroll.plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ public function DiscussionsController_Render_Before($Sender) {

public function CategoriesController_Render_Before($Sender) {
if (!C('Plugins.InfiniteScroll.DiscussionList', true) ||
C('Vanilla.Discussions.Layout') == 'table')
C('Vanilla.Discussions.Layout') == 'table' ||
!$Sender->Category)
return;

$pageCount = $Sender->Data['_Page'];
Expand Down

0 comments on commit 55eb14a

Please sign in to comment.