Project

General

Profile

Bug #45826 ยป 45826.diff

Dmitry Dulepov, 2013-02-27 07:59

View differences:

typo3/sysext/core/Classes/Resource/FileRepository.php
$rows = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows(
'*',
$this->table,
sprintf('storage=%u AND identifier LIKE "%s" AND NOT identifier LIKE "%s"',
$storage,
$GLOBALS['TYPO3_DB']->escapeStrForLike($identifier, $this->table) . '%',
$GLOBALS['TYPO3_DB']->escapeStrForLike($identifier, $this->table) . '%/%'
sprintf('storage=%u AND identifier LIKE %s AND NOT identifier LIKE %s',
$storage,
$GLOBALS['TYPO3_DB']->fullQuoteStr($GLOBALS['TYPO3_DB']->escapeStrForLike($identifier, $this->table) . '%', $this->table),
$GLOBALS['TYPO3_DB']->fullQuoteStr($GLOBALS['TYPO3_DB']->escapeStrForLike($identifier, $this->table) . '%/%', $this->table)
),
'',
'',
    (1-1/1)