| @@ -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> |