Add task approval system (tidy)

This commit is contained in:
wrongecho
2026-01-12 12:21:10 +00:00
parent 77e4d2b566
commit 58bcb38617
6 changed files with 13 additions and 13 deletions

View File

@@ -357,7 +357,7 @@ if (isset($_GET['approve_ticket_task'])) {
redirect();
exit;
}
if ($required_user == 0 && $type = 'any' && $created_by == $session_user_id) {
if ($required_user == 0 && $type == 'any' && $created_by == $session_user_id) {
flash_alert("You cannot approve your own task", 'error');
redirect();
exit;