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

Andreas Balzer andreasbalzer at gmail.com
Fri May 2 14:50:05 CEST 2008


+1

On Fri, May 2, 2008 at 11:15 AM, Michael Stucki <michael at typo3.org> wrote:
> 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/
>
>
> _______________________________________________
>  Before posting to this list, please have a look to the posting rules
>  on the following websites:
>
>  http://typo3.org/teams/core/core-mailinglist-rules/
>  http://typo3.org/development/bug-fixing/diff-and-patch/
>  _______________________________________________
>  TYPO3-team-dam mailing list
>  TYPO3-team-dam at lists.netfielders.de
>  http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-dam
>


More information about the TYPO3-team-dam mailing list