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

Michael Stucki michael at typo3.org
Fri May 2 11:15:51 CEST 2008


Pretty simple and obvious. +1

- michael

Benjamin Mack wrote:

> Hey guys,
> 
> this is a SVN patch request for the DAM project.
> 
> Severity: no-brainer
> 
> Branches: Both trunk and dam_1.0 branch
> 
> Problem:
> In two cases in "lib/class.tx_dam_db.php" the use preg_replace is just
> simply wrong. It should remove the "AND..." in front of a whereClause.
> Then the preg_replace needs to look like preg_replace('/AND /', '',
> $whereClauses);.
> unfortunately, the second parameter is left out.
> 
> Solution:
> Add the second (empty '') parameter.
> 
> Notes:
> As this is just a clear wrong use of a function call, I'd like to commit
> this in 24h if no one objects.
> 

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-dam mailing list