Bug #45826 ยป 45826.diff
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)
|
||
),
|
||
'',
|
||
'',
|