Changeset 9444 for extensions/community/include/functions_community.inc.php
- Timestamp:
- Mar 1, 2011, 11:09:35 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/community/include/functions_community.inc.php
r9376 r9444 26 26 global $conf; 27 27 28 if (is_admin()) 29 { 30 return array( 31 'upload_whole_gallery' => true, 32 'create_whole_gallery' => true, 33 'create_categories' => array(), 34 'upload_categories' => array(), 35 'permission_ids' => array(), 36 ); 37 } 38 28 39 $return = array( 29 40 'upload_whole_gallery' => false, … … 33 44 'permission_ids' => array(), 34 45 ); 35 36 $user_permissions = array();37 46 38 47 // what are the user groups? … … 96 105 } 97 106 98 if (!$return['upload_whole_gallery'] )107 if (!$return['upload_whole_gallery'] and count($return['upload_categories']) > 0) 99 108 { 100 109 $return['upload_categories'] = get_subcat_ids($return['upload_categories']);
Note: See TracChangeset
for help on using the changeset viewer.