Review TYPO3_4-6 Merged

12085[BUGFIX] canBeInterpretedAsInteger fatals if given an object

Markus Klein CR +2 V +2 Normal +62 −1 updated 06/03/13, 20:49

Commit message

If an object without a string representation is given to
t3lib_utility_math::canBeInterpretedAsInteger($var), the
method will throw a fatal error.

Assume that an object or an array can never be an integer.
<http://php.net/manual/en/language.types.integer
.php#language.types.integer.casting.from-other>

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.

Files 3