This looks like a typo in menu_links_features_export_render() where this:
menu_link_save($temp = $link);
I think this should be:
menu_link_save($link);
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | features_strict-warning-menu-links_2155945-3.patch | 614 bytes | idebr |
Comments
Comment #1
Anonymous (not verified) commentedConfirm same issue occurs for me when packaging menu and menu items in a features.
Comment #2
idebr commentedI was able to reproduce the notice by exporting any menu link. Attached is a patch based on the solution presented in the issue summary.
It's safe to remove the $temp assignment, since the variable is not used in the function.See my comment in #3Comment #3
idebr commentedActually menu_link_save takes an argument by reference, that is what the $temp assignment is for. Attached is a revised patch.
Comment #4
NaX commentedAgreed, I test the last patch and works as described.
Comment #5
ehijzen commentedPatch works as described
Comment #6
miromarchi commentedpatch in #3 works for me as well. thanks
Comment #7
honza pobořil commentedComment #8
westwesterson commentedtested #3, works great.
Comment #9
manuelBS commentedpatch #3 works for me as well. Thanks!
Comment #10
hefox commentedthanks