PluginProbe
User Access Manager / 2.2.3
User Access Manager v2.2.3
2.3.20 2.3.19 2.3.18 2.3.17 2.3.16 2.3.15 2.3.14 2.3.13 trunk 0.6 0.6.1 0.6.2 0.7 0.7 Beta 0.7.0.1 0.8 0.8.0.1 0.8.0.2 0.9 0.9.1 0.9.1.1 0.9.1.2 0.9.1.3 0.9.1.4 1.0 All 136 releases
← All changes | src/View/AdminSettings.php +2 -2 2.3.132.2.3 View file →
@@ -45,9 +45,9 @@
45 45 <input type="hidden" name="uam_action" value="update_settings"/>
46 46 <?php
47 47 $currentSectionKey = $controller->getCurrentTabGroupSection();
48 48 $groupForms = $controller->getCurrentGroupForms();
49 - $form = $groupForms[$currentSectionKey] ?? reset($groupForms);
49 + $form = isset($groupForms[$currentSectionKey]) ? $groupForms[$currentSectionKey] : reset($groupForms);
50 50 $cssClass = ($currentGroupKey === 'post_types') ? " uam_settings_group_post_type $currentSectionKey" : '';
51 51 $cssClass .= ($currentGroupKey === 'taxonomies') ? " uam_settings_group_taxonomies $currentSectionKey" : '';
52 52 ?>
53 53 <h3><?php echo $controller->getText($currentSectionKey); ?></h3>
@@ -86,9 +86,9 @@
86 86 ?>
87 87 </tbody>
88 88 </table>
89 89 <div class="submit">
90 - <input type="submit" class="button-primary" value="<?php echo TXT_UAM_UPDATE_SETTING; ?>"/>
90 + <input type="submit" value="<?php echo TXT_UAM_UPDATE_SETTING; ?>"/>
91 91 </div>
92 92 </form>
93 93 </div>
94 94 </div>