Generating content with devel_generate produces the following error:

Notice: Undefined variable: reset in _asin_devel_generate() (line 361 of /path/to/drupal/sites/all/modules/amazon/asin/asin.module).

I found $reset here:

<?php
  if (!isset($asins) || $reset) {
    $actions = module_invoke_all('action_info');
  }
?>

But I don't see why it should be there.

Comments

shawn dearmond’s picture

Status: Active » Needs review
StatusFileSize
new447 bytes

Here's the patch.

rfay’s picture

Status: Needs review » Fixed

Committed: e383b43bb820aa7e6234fa6a44d174b1db5c343f

Must have been some copy-paste code.

rfay’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Fixed » Patch (to be ported)

I imagine this needs to go into 6.x-1.x?

rfay’s picture

Status: Patch (to be ported) » Fixed

I think D6 devel_generate support is fine now.

Status: Fixed » Closed (fixed)

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