If no text is returned by any module when the "update_index" operation is invoked for hook_nodeapi(), the following PHP error is thrown because the $extra variable is not initialized in apachesolr_node_to_document():

warning: implode() [function.implode]: Invalid arguments passed in /home/chris/Public/apachesolr/sites/all/modules/contrib/apachesolr/apachesolr.index.inc on line 68.

Small issue. Small patch attached.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

robertDouglass’s picture

Status: Needs review » Fixed

Thanks! Committed to both branches.

robertDouglass’s picture

FileSize
1.12 KB

Actually, for DRUPAL-6--1 and DRUPAL-5--2 I'm going to backport from DRUPAL-6--2 because it's a better system (with keyed array in $extra).

robertDouglass’s picture

#2 was applied to DRUPAL-6--1 and DRUPAL-5--2

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.