aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/configuration_sizes_process.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/include/configuration_sizes_process.inc.php')
-rw-r--r--admin/include/configuration_sizes_process.inc.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/admin/include/configuration_sizes_process.inc.php b/admin/include/configuration_sizes_process.inc.php
index 31153f16b..d748a61e4 100644
--- a/admin/include/configuration_sizes_process.inc.php
+++ b/admin/include/configuration_sizes_process.inc.php
@@ -228,6 +228,15 @@ if (count($errors) == 0)
}
}
+ foreach( array_keys(ImageStdParams::$custom) as $custom)
+ {
+ if (isset($_POST['delete_custom_derivative_'.$custom]))
+ {
+ $changed_types[] = $custom;
+ unset(ImageStdParams::$custom[$custom]);
+ }
+ }
+
ImageStdParams::set_and_save($enabled_by);
if (count($disabled) == 0)
{