diff --git a/js/qsm-admin.js b/js/qsm-admin.js
index 80d48ed4f..e4a075d80 100644
--- a/js/qsm-admin.js
+++ b/js/qsm-admin.js
@@ -3635,7 +3635,7 @@ var import_button;
let result_page = jQuery(this).closest("header").next("main");
let conditions = [];
let redirect_value = result_page.find('.results-page-redirect').val();
- var page = wp.editor.getContent( result_page.find('.results-page-template').attr('id') );
+ let page = wp.editor.getContent( result_page.find('.results-page-template').attr('id') );
result_page.find('.results-page-condition').each(function () {
conditions.push({
'category': $(this).find('.results-page-condition-category').val(),
diff --git a/php/admin/options-page-email-tab.php b/php/admin/options-page-email-tab.php
index 5d2e50f7d..476564933 100644
--- a/php/admin/options-page-email-tab.php
+++ b/php/admin/options-page-email-tab.php
@@ -196,7 +196,10 @@ function qsm_options_emails_tab_template() {
-
+