Project

General

Profile

Bug #20021 » 10442_v2.diff

Administrator Admin, 2010-01-06 14:50

View differences:

t3lib/class.t3lib_tcemain.php (working copy)
// This converts all occurencies of '{' to the byte 123 in the string - this is needed in very rare cases where filenames with special characters (like ???, umlaud etc) gets sent to the server as HTML entities instead of bytes. The error is done only by MSIE, not Mozilla and Opera.
// Anyways, this should NOT disturb anything else:
$value = $this->convNumEntityToByteValue($value);
// When values are sent as group or select they come as comma-separated values which are exploded by this function:
$valueArray = $this->checkValue_group_select_explodeSelectGroupValue($value);
if ($tcaFieldConf['maxItems'] > 1 || $tcaFieldConf['foreign_table']) {
$valueArray = $this->checkValue_group_select_explodeSelectGroupValue($value);
} else {
$valueArray = array($value);
}
// If not multiple is set, then remove duplicates:
if (!$tcaFieldConf['multiple']) {
t3lib/class.t3lib_transferdata.php (working copy)
*/
function renderRecord_selectProc($data,$fieldConfig,$TSconfig,$table,$row,$field) {
global $TCA;
// Initialize:
$elements = t3lib_div::trimExplode(',',$data,1); // Current data set.
if ($fieldConfig['config']['maxitems'] > 1 || $fieldConfig['config']['foreign_table']) {
$elements = t3lib_div::trimExplode(',', $data, 1); // Current data set.
} else {
$elements = array($data);
}
$dataAcc=array(); // New data set, ready for interface (list of values, rawurlencoded)
// For list selectors (multi-value):
......
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_transferdata.php']);
}
?>
?>
(3-3/3)