I am programatically uninstalling a node type. I get the follwoing warning:

Notice: Undefined variable: entity_type in apachesolr_node_type_delete() (line 676 of /var/www/html/websites/sites/all/modules/apachesolr/apachesolr.module).

On code inspection, I don't see $entity_type being set within the function.

Thanks,
Mark

CommentFileSizeAuthor
#3 1900006-3-D6.patch566 bytespwolanin
#1 1900006-1.patch618 bytesNick_vh
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Nick_vh’s picture

Status: Active » Needs review
FileSize
618 bytes

This should fix it

Nick_vh’s picture

Version: 7.x-1.1 » 6.x-3.x-dev
Status: Needs review » Patch (to be ported)

Fixed in 7.x-1.x, needs backport

pwolanin’s picture

Status: Patch (to be ported) » Needs review
FileSize
566 bytes
pwolanin’s picture

Status: Needs review » Fixed

committed

Status: Fixed » Closed (fixed)

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