Changeset 10095


Ignore:
Timestamp:
04/06/11 10:50:23 (9 years ago)
Author:
plg
Message:

bug 2249 fixed: when you edit a permission, the selected album is always "the whole gallery"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/community/admin_permissions.php

    r9583 r10095  
    211211  if (isset($row['id'])) 
    212212  { 
     213    $category_options_selected = $row['category_id']; 
     214    
    213215    $template->assign( 
    214216      array( 
     
    217219        'user_options_selected' => $row['user_id'], 
    218220        'group_options_selected' => $row['group_id'], 
    219         'category_options_selected' => $row['category_id'], 
    220221        'recursive' => get_boolean($row['recursive']), 
    221222        'create_subcategories' => get_boolean($row['create_subcategories']), 
     
    304305display_select_cat_wrapper( 
    305306  $query, 
    306   array(), 
     307  isset($category_options_selected) ? $category_options_selected : array(), 
    307308  'category_options' 
    308309  ); 
Note: See TracChangeset for help on using the changeset viewer.