mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fix checkbox of selected derivative on index page when a plugin overrides the default value
git-svn-id: http://piwigo.org/svn/branches/2.4@16985 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -279,7 +279,7 @@ if ( count($page['items']) > 0 )
|
||||
duplicate_index_url(),
|
||||
array('display' => '')
|
||||
);
|
||||
$selected_type = pwg_get_session_var('index_deriv', IMG_THUMB);
|
||||
$selected_type = trigger_event('get_index_derivative_params', ImageStdParams::get_by_type( pwg_get_session_var('index_deriv', IMG_THUMB) ) )->type;
|
||||
$type_map = ImageStdParams::get_defined_type_map();
|
||||
unset($type_map[IMG_XXLARGE], $type_map[IMG_XLARGE]);
|
||||
foreach($type_map as $params)
|
||||
|
||||
Reference in New Issue
Block a user