| @@ -206,9 +206,10 @@ | ||
| 206 | 206 | $seed('yatra_email_template_admin_scheduled_payment_failed', true); |
| 207 | 207 | $seed('yatra_email_template_enquiry_received', true); |
| 208 | 208 | $seed('yatra_email_template_enquiry_admin', true); |
| 209 | 209 | $seed('yatra_email_template_enquiry_response', true); |
| 210 | - $seed('yatra_email_template_review_request', true); | |
| 210 | + // Off on a fresh install — see SettingsService::$defaults for why. | |
| 211 | + $seed('yatra_email_template_review_request', false); | |
| 211 | 212 | $seed('yatra_email_template_abandoned_booking_recovery_first', true); |
| 212 | 213 | $seed('yatra_email_template_abandoned_booking_recovery_second', true); |
| 213 | 214 | $seed('yatra_email_template_abandoned_booking_recovery_final', true); |
| 214 | 215 | |
| @@ -557,9 +558,9 @@ | ||
| 557 | 558 | // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- table name escaped, static column definition. |
| 558 | 559 | $wpdb->query( |
| 559 | 560 | 'ALTER TABLE `' . esc_sql($table) . '` ' |
| 560 | 561 | . "ADD COLUMN `duration_hours` smallint(5) UNSIGNED DEFAULT NULL " |
| 561 | - . "COMMENT 'Duration in hours for hour-based (single-day) tours; NULL = day-based' " | |
| 562 | + . "COMMENT 'Duration in hours for hour-based single-day tours, NULL means day-based' " | |
| 562 | 563 | . 'AFTER `duration_nights`' |
| 563 | 564 | ); |
| 564 | 565 | |
| 565 | 566 | // Re-check so we only mark this done when the column really exists. |