@@ -41,8 +41,8 @@ discard block |
||
| 41 | 41 | $action = $request->variable('action', ''); |
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | - * All our beautiful permissions |
|
| 45 | - */ |
|
| 44 | + * All our beautiful permissions |
|
| 45 | + */ |
|
| 46 | 46 | if (!isset($permissions)) |
| 47 | 47 | { |
| 48 | 48 | $permissions = new \stdClass(); |
@@ -698,12 +698,12 @@ discard block |
||
| 698 | 698 | $coal = $gallery_cache->get('albums'); |
| 699 | 699 | |
| 700 | 700 | /** |
| 701 | - * Grab the permissions |
|
| 702 | - * |
|
| 703 | - * includes/acp/acp_permissions.php says: |
|
| 704 | - * // We obtain and check $_POST['setting'][$ug_id][$forum_id] directly and not using request_var() because request_var() |
|
| 705 | - * // currently does not support the amount of dimensions required. ;) |
|
| 706 | - */ |
|
| 701 | + * Grab the permissions |
|
| 702 | + * |
|
| 703 | + * includes/acp/acp_permissions.php says: |
|
| 704 | + * // We obtain and check $_POST['setting'][$ug_id][$forum_id] directly and not using request_var() because request_var() |
|
| 705 | + * // currently does not support the amount of dimensions required. ;) |
|
| 706 | + */ |
|
| 707 | 707 | // $auth_settings = request_var('setting', array(0 => array(0 => array('' => 0)))); |
| 708 | 708 | $requests = $request->variable('setting', array(0 => array(0 => array('' => 0)))); |
| 709 | 709 | $p_mask_count = 0; |
@@ -757,8 +757,8 @@ discard block |
||
| 757 | 757 | } |
| 758 | 758 | } |
| 759 | 759 | /** |
| 760 | - * Inherit the permissions |
|
| 761 | - */ |
|
| 760 | + * Inherit the permissions |
|
| 761 | + */ |
|
| 762 | 762 | $inherit = $request->variable('setting', array(0 => array('' => 0))); |
| 763 | 763 | foreach ($inherit as $c_mask => $v_sets) |
| 764 | 764 | { |
@@ -988,8 +988,8 @@ discard block |
||
| 988 | 988 | } |
| 989 | 989 | |
| 990 | 990 | /** |
| 991 | - * Handles copying permissions from one album to others |
|
| 992 | - */ |
|
| 991 | + * Handles copying permissions from one album to others |
|
| 992 | + */ |
|
| 993 | 993 | function copy_album_permissions() |
| 994 | 994 | { |
| 995 | 995 | global $cache, $db, $template, $user, $table_prefix, $phpbb_dispatcher, $table_name, $users_table, $phpbb_container; |