mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
fixes #1709 incorrect pattern to delete custom sizes
This commit is contained in:
@@ -2951,7 +2951,7 @@ function clear_derivative_cache($types='all')
|
||||
$type = $types[$i];
|
||||
if ($type == IMG_CUSTOM)
|
||||
{
|
||||
$type = derivative_to_url($type).'[a-zA-Z0-9]+';
|
||||
$type = derivative_to_url($type).'_[a-zA-Z0-9]+';
|
||||
}
|
||||
elseif (in_array($type, ImageStdParams::get_all_types()))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user