diff options
author | rvelices <rv-github@modusoptimus.com> | 2012-07-24 19:14:39 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2012-07-24 19:14:39 +0000 |
commit | 81e869eaa0f9df8f138f4c837099b0f624e93bef (patch) | |
tree | 5524fb77db6f311038bf339a91cf99cdd5530e47 /index.php | |
parent | 9ecbc019f4e814424b595cd6ed7a80c1e48c0cd2 (diff) |
fix checkbox of selected derivative on index page when a plugin overrides the default value (merge from 2.4 to trunk)
git-svn-id: http://piwigo.org/svn/trunk@16986 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |