Per suggestion from chx in #drupal, this pulls out the comment.module changes from chx's menu patch (http://drupal.org/node/122876) so that comments work in HEAD again. I fixed 5 E_ALL notices in comment.module while I was at it.

Comments

chx’s picture

Status: Needs review » Needs work

again, again and again, isset vs empty are not the same. When you see if ($foo['bar']) it needs analysis whether if (isset($foo['bar'])) is the same, but if (!empty($foo['bar'])) is always the same, and equal speed. What's so hard in this?

ChrisKennedy’s picture

Status: Needs work » Needs review
StatusFileSize
new5.71 KB

Who says I didn't analyze it? Whatever, re-rolled.

dries’s picture

Status: Needs review » Fixed

Committed to CVS HEAD. Thanks a lot Chris! :)

ChrisKennedy’s picture

No problem, although I should emphasize that chx wrote 99.99% of the patch.

Anonymous’s picture

Status: Fixed » Closed (fixed)