Changed a redirect for the Locking plugin.
authorNik Okuntseff <support@anuko.com>
Sun, 3 Apr 2016 13:36:04 +0000 (13:36 +0000)
committerNik Okuntseff <support@anuko.com>
Sun, 3 Apr 2016 13:36:04 +0000 (13:36 +0000)
WEB-INF/templates/footer.tpl
dbinstall.php
locking.php

index 931390e..c6b19de 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.9.22.3478 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.9.22.3479 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
             <a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
             <a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
             <a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
index 1429a24..39c967a 100644 (file)
@@ -517,6 +517,7 @@ if ($_POST) {
     setChange("DROP INDEX name_idx on tt_invoices");
     setChange("create unique index name_idx on tt_invoices(team_id, name, status)");
     setChange("ALTER TABLE tt_teams ADD COLUMN lock_spec varchar(255) default NULL");
+    setChange("ALTER TABLE tt_teams DROP locktime");
   }
 
   // The update_clients function updates projects field in tt_clients table.
index 2383178..dfdc2f2 100644 (file)
@@ -50,7 +50,7 @@ if ($request->isPost()) {
     if (ttTeamHelper::update($user->team_id, array(
       'name' => $user->team,
       'lock_spec' => $cl_lock_spec))) {
-      header('Location: time.php');
+      header('Location: profile_edit.php');
       exit();
     } else {
       $err->add($i18n->getKey('error.db'));