Update departments.php to fix feedback bug