Project

General

Profile

Actions

Bug #46935

closed

Conditions checking for "empty" values (not set or zero) not possible

Added by Stefan Neufeind over 11 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2013-04-05
Due date:
% Done:

0%

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

Description

Works: [globalVar = GP:type = 10]
Does not work: [globalVar = GP:type = 0]

Imho we might want to behave like empty() does, so "GP:type = 0" matches in case type is zero or even if it is not set. Since checking for a zero-value was not possible until now I think this would be a backward-compatible change.

Actions

Also available in: Atom PDF