Files
HotLunches/status-check.php
2026-10-19 15:22:52 -07:00

13 lines
399 B
PHP

<?php
if (in_array($_SESSION['UserInfo']['type'],array('SuperUser','System Administrator'))) {
$dataCurrent = TRUE;
if ($school_record['data_current_application_contacts'] == 'N') $dataCurrent = FALSE;
if ($school_record['data_current_school_contacts'] == 'N') $dataCurrent = FALSE;
if ($dataCurrent == FALSE) {
header("Location: /?action=status-update");
exit();
}
}
?>