add_system_message(_("At least one of the parameters is empty."), 'error'); forward("course/assignments/{$course_id}/add"); } else if (empty($course_id)) { $Dippler->add_system_message(_("Course not found"), 'error'); forward('courses/my'); } else { // Clear cache $Dippler->clearSessionInputValues(); forward("course/assignments/{$course_id}/{$subtype}/add"); } // Clear cache $Dippler->clearSessionInputValues(); forward('courses/my'); ?>