Changeset 15851


Ignore:
Timestamp:
Jun 20, 2012, 5:56:54 PM (8 years ago)
Author:
mistic100
Message:

feature 2657: make sure admins can access the new category (see r11727)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/ws_functions.inc.php

    r15850 r15851  
    23082308  {
    23092309    $updates['status'] = $params['status'];
     2310   
     2311    if ('private' == $updates['status'])
     2312    {
     2313      add_permission_on_category($creation_output['id'], get_admins());
     2314    }
    23102315  }
    23112316  if ( !empty($params['visible']) and in_array($params['visible'], array('true','false')) )
Note: See TracChangeset for help on using the changeset viewer.