The logic was a little hard to read, but I ran a battery of HumanTests.php, and I'm pretty sure I fixed it.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

catch’s picture

Priority: Normal » Critical
FileSize
2.65 KB

Wrote tests for failed validation, but looks like passing validation wasn't properly tested.

Changed the tests so they'll fail without this patch now.

Status: Needs review » Needs work

The last submitted patch failed testing.

catch’s picture

Status: Needs work » Needs review
FileSize
3.2 KB
mfb’s picture

FileSize
2.68 KB

I took out a layer of parentheses for what seems like more readable logic. But if someone likes that stuff they can go with #3.

Sivaji_Ganesh_Jojodae’s picture

#4 works fine for me.

Anonymous’s picture

Status: Needs review » Reviewed & tested by the community

I agree.

catch’s picture

Issue tags: +Quick fix

I thought this was in already, then went to edit a vocabulary and found it wasn't. rrrtbc.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Status: Fixed » Closed (fixed)
Issue tags: -Quick fix

Automatically closed -- issue fixed for 2 weeks with no activity.