Fixed timesheet_view.php.
authorNik Okuntseff <support@anuko.com>
Sat, 23 Feb 2019 22:30:31 +0000 (22:30 +0000)
committerNik Okuntseff <support@anuko.com>
Sat, 23 Feb 2019 22:30:31 +0000 (22:30 +0000)
WEB-INF/templates/footer.tpl
timesheet_view.php

index 63d61ef..35edfc1 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.18.41.4765 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.18.41.4766 | 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 5079fe7..27956c9 100644 (file)
@@ -60,7 +60,7 @@ $notClient = !$user->isClient();
 // Determine which controls to show and obtain date for them.
 $showSubmit = $notClient && !$timesheet['submit_status'];
 if ($showSubmit) $approvers = ttTimesheetHelper::getApprovers($timesheet['user_id']);
-$canApprove = $user->can('approve_timesheets') || $user_>can('approve_all_timesheets');
+$canApprove = $user->can('approve_timesheets') || $user->can('approve_all_timesheets');
 $showApprove = $notClient && $timesheet['submit_status'] && $timesheet['approval_status'] == null;
 
 // Add a form with controls.