fixes #1709 incorrect pattern to delete custom sizes

This commit is contained in:
plegall
2022-09-09 12:42:11 +02:00
parent 72d3940a40
commit 076acc2035
+1 -1
View File
@@ -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()))
{