Changeset 890153
- Timestamp:
- 04/09/2014 03:06:22 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
permit-press-access-codes/trunk/press-permit-access-codes.php
r890149 r890153 70 70 $groups_array = pp_get_groups(); 71 71 $combinations = array(); 72 $option=get_option('access_code:'.$group->ID);72 73 73 foreach ($groups_array as $group){ 74 $option=get_option('access_code:'.$group->ID); 74 75 if(!empty($option)) 75 76 $combinations[$group->ID] = get_option('access_code:'.$group->ID); … … 83 84 $groups_array = pp_get_groups(); 84 85 $combinations = array(); 86 87 foreach ($groups_array as $group){ 85 88 $option=get_option('access_code:'.$group->ID); 86 foreach ($groups_array as $group){87 89 if(!empty($option)) 88 90 $combinations[$group->ID] = $group->name;
Note: See TracChangeset
for help on using the changeset viewer.