Support from Acquia helps fund testing for Drupal Acquia logo

Comments

marvin_B8 created an issue. See original summary.

Status: Needs review » Needs work

The last submitted patch, 2: add_empty_message.patch, failed testing.

The last submitted patch, 2: add_empty_message.patch, failed testing.

The last submitted patch, 2: add_empty_message.patch, failed testing.

The last submitted patch, 2: add_empty_message.patch, failed testing.

The last submitted patch, 2: add_empty_message.patch, failed testing.

The last submitted patch, 2: add_empty_message.patch, failed testing.

The last submitted patch, 2: add_empty_message.patch, failed testing.

Sam152’s picture

+++ b/views_infinite_scroll.module
@@ -34,13 +34,15 @@ function views_infinite_scroll_preprocess_views_view(&$vars) {
   if ($view->getDisplay()->isPagerEnabled() && !empty($vars['rows'])) {
...
+      if (!empty($vars['rows'])) {

I went to commit this but realised the same check already happens further up the function.

Sam152’s picture

Status: Needs review » Fixed

Unless there is another reason for this, this can be closed.

Sam152’s picture

Status: Fixed » Closed (works as designed)