[TYPO3-core] Patch: duplicate labels in indexed_search
Sebastian Kurfuerst
sebastian at garbage-group.de
Sat Jan 7 18:59:57 CET 2006
Hi Dmitry,
> @@ -1915,9 +1923,9 @@
> * @return array Modified template array
> */
> function makeInfo($row,$tmplArray) {
> - $tmplArray['size'] = $this->pi_getLL('res_size','',1).' '.t3lib_div::formatSize($row['item_size']).'';
> - $tmplArray['created'] = $this->pi_getLL('res_created','',1).' '.date('d-m-y',$row['item_crdate']).'';
> - $tmplArray['modified'] = $this->pi_getLL('res_modified','',1).' '.date('d-m-y H:i',$row['item_mtime']).'';
> + $tmplArray['size'] = t3lib_div::formatSize($row['item_size']).'';
> + $tmplArray['created'] = date('d-m-y',$row['item_crdate']).'';
> + $tmplArray['modified'] = date('d-m-y H:i',$row['item_mtime']).'';
Why do you append an empty string here? This was already done before,
but I don't see any reason for it.
Any comments on this?
If we can figure out if it is needed (I don't think so?), +1
Greets, Sebastian
More information about the TYPO3-team-core
mailing list