Review TYPO3_4-5 Merged

1211[BUGFIX] TCA tree with maxitems=1 doesn't work

Marco Huber CR +2 V +2 Easy +7 −2 updated 06/03/13, 20:49

Commit message

* Check if value of the parent field is neither empty nor 0, 
  because t3lib_transferData returns 0 if the database field 
  is empty and maxitems=1
* Only check if the selected nodes reached the maxitems limit
  if a node is checked, not if one is unchecked.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2