Project

General

Profile

Actions

Bug #55923

closed

intval() to (int) conversion regressions

Added by Michiel Roos about 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2014-02-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Is Regression:
Yes
Sprint Focus:

Description

Another set of errors after #54265:

intval around ternary expression was replaced with a cast, omitting the braces around the ternary expression.

inval($this->mconf['minItems'] ? $this->mconf['minItems'] : $this->conf['minItems']);

Was replaced with:
(int)$this->mconf['minItems'] ? $this->mconf['minItems'] : $this->conf['minItems'];

Instead of:
(int)($this->mconf['minItems'] ? $this->mconf['minItems'] : $this->conf['minItems']);

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #55706: Different behavior of levelmedia in TYPO3 6.2Closed2014-02-05

Actions
Actions

Also available in: Atom PDF