function _makeMpName($value) {
    if ($value != '') {
        $get_name = DBGet(DBQuery('SELECT TITLE FROM marking_periods WHERE marking_period_id=' . $value));
        return $get_name[1]['TITLE'];
    } else
        return ''._customCoursePeriod.'';
}
The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.