Bug #15771 ยป flexform_range_patch_2006-03-06.diff
TYPO3core.listhide/t3lib/class.t3lib_tcemain.php 2006-03-06 18:14:50.430742840 +0100 | ||
---|---|---|
// Checking range of value:
|
||
if ($tcaFieldConf['range'] && $value!=$tcaFieldConf['checkbox']) { // If value is not set to the allowed checkbox-value then it is checked against the ranges
|
||
if (isset($tcaFieldConf['range']['upper'])&&$value>$tcaFieldConf['range']['upper']) {$value=$tcaFieldConf['range']['upper'];}
|
||
if (isset($tcaFieldConf['range']['lower'])&&$value<$tcaFieldConf['range']['lower']) {$value=$tcaFieldConf['range']['lower'];}
|
||
if (isset($tcaFieldConf['range']['upper'])&&intval($value)>intval($tcaFieldConf['range']['upper'])) {$value=$tcaFieldConf['range']['upper'];}
|
||
if (isset($tcaFieldConf['range']['lower'])&&intval($value)<intval($tcaFieldConf['range']['lower'])) {$value=$tcaFieldConf['range']['lower'];}
|
||
}
|
||
// Process evaluation settings:
|