@@ -81,13 +81,13 @@ if (!$getsections && count($term_parts)
clean_empty_exit();
}
$departments = unserialize(file_get_contents($dept_file));
$json_depts = array();
foreach ($departments as $key => $department) {
if (!strncmp($department, $dept, $dept_strlen)) {
$json_depts[] = $department . "-";
$json_depts[] = $department . '-';
echo json_encode($json_depts);
exit(0);
Status change: