]> wagnertech.de Git - timetracker.git/blobdiff - topdf.php
Security fix - improved access checks for task edit and deletes.
[timetracker.git] / topdf.php
index 3177d155973b8e67c6c7845858e97c3948a3fb96..475522ef9ca87cb6dbe121929f48cabf3d583268 100644 (file)
--- a/topdf.php
+++ b/topdf.php
@@ -35,11 +35,12 @@ import('form.Form');
 import('form.ActionForm');
 import('ttReportHelper');
 
-// Access check.
+// Access checks.
 if (!(ttAccessAllowed('view_own_reports') || ttAccessAllowed('view_reports'))) {
   header('Location: access_denied.php');
   exit();
 }
+// End of access checks.
 
 // Check whether TCPDF library is available.
 if (!file_exists('WEB-INF/lib/tcpdf/'))