Fixed the problem with broken Now buttons when task entry is not required.
authoranuko <support@anuko.com>
Sun, 7 May 2017 12:36:41 +0000 (12:36 +0000)
committeranuko <support@anuko.com>
Sun, 7 May 2017 12:36:41 +0000 (12:36 +0000)
WEB-INF/lib/ttUser.class.php
WEB-INF/templates/footer.tpl

index 7edcbde..44c4862 100644 (file)
@@ -42,7 +42,7 @@ class ttUser {
   var $time_format = null;      // Time format.
   var $week_start = 0;          // Week start day.
   var $tracking_mode = 0;       // Tracking mode.
-  var $task_required = null;    // Whether task selection is required on time entires.
+  var $task_required = 0;       // Whether task selection is required on time entires.
   var $record_type = 0;         // Record type (duration vs start and finish, or both).
   var $uncompleted_indicators = 0; // Uncompleted time entry indicators (show nowhere or on users page).
   var $currency = null;         // Currency.
@@ -93,7 +93,7 @@ class ttUser {
       $this->time_format = $val['time_format'];
       $this->week_start = $val['week_start'];
       $this->tracking_mode = $val['tracking_mode'];
-      $this->task_required = $val['task_required'];
+      $this->task_required = intval($val['task_required']);
       $this->record_type = $val['record_type'];
       $this->uncompleted_indicators = $val['uncompleted_indicators'];
       $this->team = $val['team_name'];
index c2784da..5e41dbc 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.11.43.3632 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.11.44.3633 | 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>