From: Nik Okuntseff Date: Thu, 15 Mar 2018 15:53:16 +0000 (+0000) Subject: Removed not required field from a query. X-Git-Tag: timetracker_1.19-1~1030 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=8253ade27050c69c0534c9d9a46c46b3ae78004c;p=timetracker.git Removed not required field from a query. --- diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 8f8fae69..058c4eb6 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.45.4081 | Copyright © Anuko | +  Anuko Time Tracker 1.17.45.4082 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/dbinstall.php b/dbinstall.php index 1c95fc28..8dfe1bf1 100644 --- a/dbinstall.php +++ b/dbinstall.php @@ -771,7 +771,7 @@ if ($_POST) { $mdb2 = getConnection(); - $sql = "select u.id, u.team_id, u.role, u.status, t.lang from tt_users u inner join `tt_site_config` sc on (sc.param_name = 'version_db' and sc.param_value = '1.17.44') left join tt_teams t on (u.team_id = t.id) where u.role_id is NULL and u.status is NOT NULL"; + $sql = "select u.id, u.team_id, u.role, t.lang from tt_users u inner join `tt_site_config` sc on (sc.param_name = 'version_db' and sc.param_value = '1.17.44') left join tt_teams t on (u.team_id = t.id) where u.role_id is NULL and u.status is NOT NULL"; $res = $mdb2->query($sql); if (is_a($res, 'PEAR_Error')) die($res->getMessage());