Issue Bug Closed

#70069EXT:form - Avoid PHP warnings when using old .layout functions

Björn Jacob 09/24/15, 12:54 updated 09/24/15, 18:17

Description

The following issues cause PHP warnings:

  • setting a layout for label without having the <error></error> tag inside
label (
    <label><labelvalue /><mandatory /></label>
)
  • #1: PHP Warning: strpos(): Empty needle in /typo3/cms/typo3/sysext/form/Classes/Utility/CompatibilityLayerUtility.php line 267 (More information)
submit (
    <div class="form-group">
        <div class="col-sm-offset-3 col-sm-9">
            <input class="btn btn-primary" />
        </div>
    </div>
)

Reviews 2