From 2995ff2439adb92ded267c1fb15c24f6001db648 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Wed, 13 Feb 2019 17:39:49 +0000 Subject: [PATCH] Fixed db version update. --- WEB-INF/templates/footer.tpl | 2 +- dbinstall.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index d1dfd5c2..090e872b 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.37.4716 | Copyright © Anuko | +  Anuko Time Tracker 1.18.37.4717 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/dbinstall.php b/dbinstall.php index 64e4cac0..d1b67d89 100644 --- a/dbinstall.php +++ b/dbinstall.php @@ -1061,6 +1061,7 @@ if ($_POST) { ttExecute("create index timesheet_idx on tt_log(timesheet_id)"); ttExecute("ALTER TABLE `tt_expense_items` ADD `timesheet_id` int(11) default NULL AFTER `project_id`"); ttExecute("create index timesheet_idx on tt_expense_items(timesheet_id)"); + ttExecute("UPDATE `tt_site_config` SET param_value = '1.18.37', modified = now() where param_name = 'version_db' and param_value = '1.18.36'"); } if ($_POST["cleanup"]) { -- 2.20.1