Index: branches/5.2.x/core/kernel/db/db_tag_processor.php =================================================================== diff -u -N -r14596 -r14614 --- branches/5.2.x/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 14596) +++ branches/5.2.x/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 14614) @@ -1,6 +1,6 @@ Application->recallObject($formatter_class); /* @var $formatter kMultiLanguage */ - + $field = $formatter->LangFieldName($field); } @@ -1109,7 +1109,7 @@ { $object =& $this->getObject($params); /* @var $object kDBList */ - + $field = $params['field']; $value = array_key_exists('value', $params) ? $params['value'] : $object->GetDBField($field); $field_options = $object->GetFieldOptions($field); @@ -1211,7 +1211,7 @@ } elseif ( $human_format || $edit_size ) { $format = $formatter->HumanFormat($format); - + return $edit_size ? strlen($format) : $format; } } @@ -1822,7 +1822,7 @@ $prefixes = array_key_exists('prefixes', $title_info) ? $title_info['prefixes'] : false; $all_tag_params = array_key_exists('tag_params', $title_info) ? $title_info['tag_params'] : false; /* @var $prefixes Array */ - + if ($prefixes) { // extract tag_params passed directly to SectionTitle tag for specific prefix foreach ($params as $tp_name => $tp_value) { @@ -1930,7 +1930,7 @@ $of_phrase = $this->Application->Phrase('la_of'); return $object->GetRecordsCount() . ' ' . $of_phrase . ' ' . $object->GetRecordsCount(false); } - + return $object->GetRecordsCount(); break; } @@ -2010,6 +2010,7 @@ case 'text': case 'textarea': + case 'upload': $params['field_params'] = $helper->ParseConfigSQL($object->GetDBField($params['value_list_field'])); break; @@ -2225,7 +2226,7 @@ if ($formatter_class) { $formatter =& $this->Application->recallObject($formatter_class); /* @var $formatter kFormatter */ - + $human_format = array_key_exists('human', $params) ? $params['human'] : false; $edit_size = array_key_exists('edit_size', $params) ? $params['edit_size'] : false; $sample = array_key_exists('sample', $params) ? $params['sample'] : false; @@ -2330,7 +2331,7 @@ { $export_object =& $this->Application->recallObject('CatItemExportHelper'); /* @var $export_object kCatDBItemExportHelper */ - + $event = new kEvent($this->getPrefixSpecial().':OnDummy'); $action_method = 'perform'.ucfirst($this->Special);