diff --git a/public_html/wp-content/plugins/camptix/inc/class-camptix-admin.php b/public_html/wp-content/plugins/camptix/inc/class-camptix-admin.php
index ab38f1213..122391af6 100644
--- a/public_html/wp-content/plugins/camptix/inc/class-camptix-admin.php
+++ b/public_html/wp-content/plugins/camptix/inc/class-camptix-admin.php
@@ -114,18 +114,19 @@ public function menu_tools() {
menu_tools_tabs(); ?>
get_tools_section();
- if ( $section == 'summarize' )
+ if ( 'summarize' == $section ) {
$this->menu_tools_summarize();
- elseif ( $section == 'revenue' )
+ } elseif ( 'revenue' == $section ) {
$this->menu_tools_revenue();
- elseif ( $section == 'export' )
+ } elseif ( 'export' == $section ) {
$this->menu_tools_export();
- elseif ( $section == 'notify' )
+ } elseif ( 'notify' == $section ) {
$this->menu_tools_notify();
- elseif ( $section == 'refund' && ! $this->options['archived'] )
+ } elseif ( 'refund' == $section && ! $this->options['archived'] ) {
$this->menu_tools_refund();
- else
+ } else {
do_action( 'camptix_menu_tools_' . $section );
+ }
?>
beta_features_enabled ) {
break;
}
-
+
add_settings_section( 'general', __( 'Beta Features', 'wordcamporg' ), array( $this, 'menu_setup_section_beta' ), 'camptix_options' );
$this->add_settings_field_helper( 'reservations_enabled', __( 'Enable Reservations', 'wordcamporg' ), 'field_yesno', false,