[TYPO3-dam-devel] RFC Bugfix: 6766: getReferencedFiles $whereClauses as string

Michiel Roos michiel at netcreators.com
Thu Dec 27 13:29:00 CET 2007


Hi,

This is a svn patch request.

Type: bugfix

Problem:
Nonsensical preg_replace in lib/class.tx_dam_db.php:

preg_replace('^AND ', trim($whereClauses))

That's a no-op -> error. preg_replace takes three parameters. Gathering 
from the context of the function the line should read (strip off the AND 
if it exists):

preg_replace('/^AND /', '', trim($whereClauses));



Branch: 1-0

Ref: http://bugs.typo3.org/view.php?id=6766

NOTE: The trunk is fine. This one needs +2 to get applied to the 1-0 branch!

Kind regards,


Michiel Roos

-- 
Netcreators BV :: creation and innovation
www.netcreators.com 

Interesse in werken bij Netcreators?
http://www.netcreators.com/bedrijf/vacatures/ 

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 6766.fix.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-dam/attachments/20071227/18cecb22/attachment.txt 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: michiel.vcf
Type: text/x-vcard
Size: 292 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-dam/attachments/20071227/18cecb22/attachment.vcf 


More information about the TYPO3-team-dam mailing list