Changeset 16985


Ignore:
Timestamp:
07/24/12 21:13:44 (7 years ago)
Author:
rvelices
Message:

fix checkbox of selected derivative on index page when a plugin overrides the default value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/index.php

    r15578 r16985  
    280280          array('display' => '') 
    281281        ); 
    282   $selected_type = pwg_get_session_var('index_deriv', IMG_THUMB); 
     282  $selected_type = trigger_event('get_index_derivative_params', ImageStdParams::get_by_type( pwg_get_session_var('index_deriv', IMG_THUMB) ) )->type; 
    283283  $type_map = ImageStdParams::get_defined_type_map(); 
    284284  unset($type_map[IMG_XXLARGE], $type_map[IMG_XLARGE]); 
Note: See TracChangeset for help on using the changeset viewer.