Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
line 48 of menu_editor/me_node_creation/menu_editor_node_creation.inc
Comment | File | Size | Author |
---|---|---|---|
#1 | menu_editor-932924.patch | 3.01 KB | mikeytown2 |
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedpatch also takes care of some white space issues.
Comment #2
donquixote CreditAttribution: donquixote commentedThe whitespace is a habit of mine. Always want to give the blank lines full indentation.
Is there a documented style rule that handles whitespace? Otherwise I would try to just keep the module consistent.
Comment #3
donquixote CreditAttribution: donquixote commentedFor the rest:
I didn't know that list($a,$b) is that strict. Error reporting level? Would it help to put a "@" ?
Your patch looks like a reasonable solution.
That said, I do have a local version somewhere which stores these values in the $form array instead of a static var. Seems like a better idea. I should commit this thing to -dev.
Comment #4
mikeytown2 CreditAttribution: mikeytown2 commentedhttp://drupal.org/coding-standards#indenting
My editor auto removes trailing whitespace at the end of a line
And if your up for a challenge use this
http://drupal.org/project/coder
Comment #5
donquixote CreditAttribution: donquixote commentedI committed a minimal fix to the 6.x-2.2 stable release.
The local version with hook_nodeapi and more changes will go into 6.x-2.3
This way, people can revert to 6.x-2.2, if 2.3 should cause any unforeseen issues.
Comment #6
donquixote CreditAttribution: donquixote commented