The function definition uses $new_keys, but the parameters lists $keys_new.
Edit: I notice that the key is actually called $keys_new for Drupal 7. My report is in reference to the Drupal 6 documentation.
Good catch. Probably the doc was ported from D7 and someone forgot to change the parameter name.
good project for a novice doc contributor
Is that a hint? :D
We have this "Novice" tag to mark issues that are good for newbies, or for anyone who wants a quick project to do. If you'd like to do this one, please do. Just assign it to yourself, make a patch, attach it, and change the status to Needs Review.
This problem looks fixed on the docs page. Does that mean this issue can be closed?
I'm just getting started contributing, btw, so please correct me if I missed something obvious.
It doesn't look fixed to me on that page.
The Parameters section has the parameter name $keys_new, but the function itself uses $new_keys.
...I am not having a good day today, am I. Well, here's a patch.
Patch formatting is not OK, wrong file names at top
Regenerated with git.
thanks, that looks fine
Automatically closed -- issue fixed for 2 weeks with no activity.
Restoring issue tags, see #2125755: System messages removed all issue tags during D7 upgrade.
This issue has no child issues.
Drupal is a registered trademark of Dries Buytaert.