Patch is worth more than words. Check it out :)
Patch applies cleanly and meets coding style guidelines.
Had to read the patch a couple of times to see these lines were duplicated right next to each other.
Committed and pushed. Should be fine for 7.x too.
Committed and pushed to 7.x. Thanks!
Automatically closed -- issue fixed for 2 weeks with no activity.
Updated issue summary.
Drupal is a registered trademark of Dries Buytaert.