Issue Bug Closed

#45826Problem with typo3\sysext\core\Classes\Resource\FileRepository.php and PostgreSQL

Gerald Buttinger 02/25/13, 15:54 updated 10/23/17, 22:16

Description

in file typo3\sysext\core\Classes\Resource\FileRepository.php line 154 looks like this:

sprintf('storage=%u AND identifier LIKE "%s" AND NOT identifier LIKE "%s"',

since strings must be encapsulated with single quotes – and not double quotes – in postgres, this line should look like this:

sprintf("storage=%u AND identifier LIKE '%s' AND NOT identifier LIKE '%s'",

Reviews 3