derivative_default_size can't be disabled

git-svn-id: http://piwigo.org/svn/trunk@29220 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
flop25
2014-08-15 15:29:56 +00:00
parent ea90037efe
commit 557fccb9a1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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])
{