[TYPO3-core] RFC #17116: Bug: All images get reduced to 25x25px upon saving if no size is set

Oliver Klee typo3-german-01 at oliverklee.de
Tue Jan 18 16:27:50 CET 2011


Hi,

> +		if ($tcaFieldConf['range'] && ($value != $tcaFieldConf['checkbox'] && $value != $tcaFieldConf['default'])) {

You don't need the additional pair of parenthesis as && is commutative:

a && (b && c)

  ==

(a && b) && c

  ==

b && (a && c)


Oli
-- 
Certified TYPO3 Integrator | TYPO3 Security Team Member


More information about the TYPO3-team-core mailing list