From: Nik Okuntseff Date: Wed, 13 Feb 2019 17:39:49 +0000 (+0000) Subject: Fixed db version update. X-Git-Tag: timetracker_1.19-1~338 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2995ff2439adb92ded267c1fb15c24f6001db648;p=timetracker.git Fixed db version update. --- 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"]) {