Project

General

Profile

Actions

Bug #59344

closed

Condition globalString with LIT: is not true if left and right of condition are empty strings

Added by Marc Bastian Heinrichs over 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
TypoScript
Target version:
Start date:
2014-06-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

An empty "LIT:" results in NULL, so the strict compare doesn't match.

Solution is to cast the left value to string before, like it's done later in the preg_match.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #45183: Condition globalString is not true if left and right of condition are empty stringsClosedMarc Bastian Heinrichs2013-02-05

Actions
Actions

Also available in: Atom PDF