diff --git a/admin_settings_quote.php b/admin_settings_quote.php
index ea3c2763a..9473c7fbf 100644
--- a/admin_settings_quote.php
+++ b/admin_settings_quote.php
@@ -35,6 +35,16 @@
+
+
diff --git a/database_updates.php b/database_updates.php
index 4751fe7b2..c9485e499 100644
--- a/database_updates.php
+++ b/database_updates.php
@@ -2232,10 +2232,16 @@ function processFile($file_path, $file_name, $mysqli) {
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '1.6.5'");
}
- // if (CURRENT_DATABASE_VERSION == '1.6.5') {
- // // Insert queries here required to update to DB version 1.6.6
+ if (CURRENT_DATABASE_VERSION == '1.6.5') {
+ mysqli_query($mysqli, "ALTER TABLE `settings` ADD `config_quote_notification_email` VARCHAR(200) DEFAULT NULL AFTER `config_quote_from_email`");
+
+ mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '1.6.6'");
+ }
+
+ // if (CURRENT_DATABASE_VERSION == '1.6.6') {
+ // // Insert queries here required to update to DB version 1.6.7
// // Then, update the database to the next sequential version
- // mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '1.6.6'");
+ // mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '1.6.7'");
// }
} else {
diff --git a/database_version.php b/database_version.php
index 856c91897..d8b464c45 100644
--- a/database_version.php
+++ b/database_version.php
@@ -5,4 +5,4 @@
* It is used in conjunction with database_updates.php
*/
-DEFINE("LATEST_DATABASE_VERSION", "1.6.5");
+DEFINE("LATEST_DATABASE_VERSION", "1.6.6");
diff --git a/db.sql b/db.sql
index 223a86623..b6706f946 100644
--- a/db.sql
+++ b/db.sql
@@ -1517,6 +1517,7 @@ CREATE TABLE `settings` (
`config_quote_footer` text DEFAULT NULL,
`config_quote_from_name` varchar(200) DEFAULT NULL,
`config_quote_from_email` varchar(200) DEFAULT NULL,
+ `config_quote_notification_email` varchar(200) DEFAULT NULL,
`config_ticket_prefix` varchar(200) DEFAULT NULL,
`config_ticket_next_number` int(11) DEFAULT NULL,
`config_ticket_from_name` varchar(200) DEFAULT NULL,
diff --git a/get_settings.php b/get_settings.php
index 40f4cd35a..b74f7a66c 100644
--- a/get_settings.php
+++ b/get_settings.php
@@ -58,6 +58,7 @@
$config_quote_footer = $row['config_quote_footer'];
$config_quote_from_name = $row['config_quote_from_name'];
$config_quote_from_email = $row['config_quote_from_email'];
+$config_quote_notification_email = $row['config_quote_notification_email'];
// Projects
$config_project_prefix = $row['config_project_prefix'];
diff --git a/guest_footer.php b/guest_footer.php
index c11e4c882..c6e94e3ce 100644
--- a/guest_footer.php
+++ b/guest_footer.php
@@ -7,6 +7,7 @@
+
@@ -23,5 +24,7 @@
+
+