aboutsummaryrefslogtreecommitdiffstats
path: root/admin/configuration.php
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2014-08-15 15:29:56 +0000
committerflop25 <flop25@piwigo.org>2014-08-15 15:29:56 +0000
commit557fccb9a10f41329ff16061b1395397771d3960 (patch)
tree1789f6c4adb3025fb424d7a7a3f26070a9e0f2e8 /admin/configuration.php
parentea90037efe55ee8270c8bf27d701b1c9abdc45e2 (diff)
bug:3124
derivative_default_size can't be disabled git-svn-id: http://piwigo.org/svn/trunk@29220 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/configuration.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/configuration.php b/admin/configuration.php
index 9d34fbbf1..6f9370cf4 100644
--- a/admin/configuration.php
+++ b/admin/configuration.php
@@ -488,7 +488,7 @@ switch ($page['section'])
$tpl_var = array();
$tpl_var['must_square'] = ($type==IMG_SQUARE ? true : false);
- $tpl_var['must_enable'] = ($type==IMG_SQUARE || $type==IMG_THUMB)? true : false;
+ $tpl_var['must_enable'] = ($type==IMG_SQUARE || $type==IMG_THUMB || $type==$conf['derivative_default_size'])? true : false;
if ($params = @$enabled[$type])
{