Quote delimiter before using preg_replace
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
8c336ba285
commit
351019c074
@ -692,7 +692,7 @@ for ($i = 0; $i < $num_fields; $i++) {
|
||||
&& isset($mime_map[$row['Field']]['transformation'])
|
||||
&& preg_match(
|
||||
'@' . preg_quote(
|
||||
$available_mime['transformation_file'][$mimekey]
|
||||
$available_mime['transformation_file'][$mimekey], '@'
|
||||
) . '3?@i',
|
||||
$mime_map[$row['Field']]['transformation']
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user