Closed (fixed)
Project:
Patterns
Version:
7.x-2.0-rc2
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
28 Mar 2013 at 14:17 UTC
Updated:
29 Mar 2013 at 12:27 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | patterns-1955410-3.patch | 426 bytes | drozas |
| #2 | patterns-1955410.patch | 566 bytes | pobster |
| #1 | patterns-1955410.patch | 594 bytes | pobster |
Comments
Comment #1
pobster commentedComment #2
pobster commentedOops, ignore that last one - it's from an incorrect root directory.
Pobster
Comment #3
drozasThanks 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.
Comment #4
drozasThanks 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
Comment #5
drozasPath also applied to branch 7.x-1.x: http://drupalcode.org/project/patterns.git/commit/3b7fdf5
Comment #6
drozas