Changeset 19654


Ignore:
Timestamp:
Dec 30, 2012, 1:16:25 AM (8 years ago)
Author:
plg
Message:

bug fixed: even with maximum permission, creating a root album was denied

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/community/main.inc.php

    r18938 r19654  
    209209  if ('pwg.categories.add' == $methodName)
    210210  {
    211     if (in_array($params['parent'], $user_permissions['create_categories']))
     211    if (in_array($params['parent'], $user_permissions['create_categories'])
     212        or $user_permissions['create_whole_gallery'])
    212213    {
    213214      $user['status'] = 'admin';
Note: See TracChangeset for help on using the changeset viewer.