As per title, Patterns throws a minor error when importing menu items.

WD php: Missing argument 1 for menu_patterns(), called in /patterns/patterns_components/components/menu.inc on line 468 and defined in /patterns/patterns_components/components/menu.inc on line 7.

Solution is simple, menu_patterns() doesn't use the missing argument $data so it can just be safely removed.

Thanks,

Pobster

Comments

pobster’s picture

StatusFileSize
new594 bytes
pobster’s picture

StatusFileSize
new566 bytes

Oops, ignore that last one - it's from an incorrect root directory.

Pobster

drozas’s picture

Assigned: Unassigned » drozas
Status: Patch (to be ported) » Needs review

Thanks for the patch pobster!,

I will test it and commit it to 7.x-2.x-dev so it can be included in the next release.

drozas’s picture

Status: Needs review » Fixed
StatusFileSize
new426 bytes

Thanks again for the patch pobster!,

I attached a modified version so it can be applied from the patterns root directory. The commit was already applied in commit http://drupalcode.org/project/patterns.git/commit/d18f8ea

I'll mark this as fixed

drozas’s picture

drozas’s picture

Status: Fixed » Closed (fixed)