Posted by wallebart on May 8, 2008 at 8:55pm
Jump to:
| Project: | Outline |
| Version: | 6.x-0.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
To build the node/add URL for node types with underscores in the name the underscores must replaced by hypens.
Comments
#1
As in book module the URL should built like
line 101 $links['book_add_child']['href'] = 'node/add/'. str_replace('_', '-', $child_type);line 105 $links['book_add_child']['href'] = 'node/add/'. str_replace('_', '-', $child_type_book_default);
Unfortunately my cvs doesn't work at the moment, therefore I'm not able to submit a real patch.
greetings
#2
Thanks wallebart for the report and the solution.
The fix will be part of the upcoming alpha1 release.
#3
Automatically closed -- issue fixed for two weeks with no activity.