<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.18.29.4579 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.18.29.4580 | Copyright © <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>
header('Location: feature_disabled.php');
exit();
}
-
-$cl_id = (int) $request->getParameter('id');
+$cl_id = (int)$request->getParameter('id');
+$client = ttClientHelper::getClient($cl_id, true);
+if (!$client) {
+ header('Location: access_denied.php');
+ exit();
+}
+// End of access checks.
$projects = ttGroupHelper::getActiveProjects();
$cl_status = $request->getParameter('status');
$cl_projects = $request->getParameter('projects');
} else {
- $client = ttClientHelper::getClient($cl_id, true);
$cl_name = $client['name'];
$cl_address = $client['address'];
$cl_tax = $client['tax'];
header('Location: feature_disabled.php');
exit();
}
-
-$cl_id = (int) $request->getParameter('id');
+$cl_id = (int)$request->getParameter('id');
+$client = ttClientHelper::getClient($cl_id, true);
+if (!$client) {
+ header('Location: access_denied.php');
+ exit();
+}
+// End of access checks.
$projects = ttGroupHelper::getActiveProjects();
$cl_status = $request->getParameter('status');
$cl_projects = $request->getParameter('projects');
} else {
- $client = ttClientHelper::getClient($cl_id, true);
$cl_name = $client['name'];
$cl_address = $client['address'];
$cl_tax = $client['tax'];