Skip to content
Snippets Groups Projects
Commit fcfcd69d authored by Tim Steiner's avatar Tim Steiner
Browse files

Fix in bulletin preview when proposed course has 0 or 3 termsOffered listed and original has 1 or 2

parent 6c3e86d0
No related branches found
No related tags found
No related merge requests found
......@@ -215,6 +215,8 @@ class Application_View_Helper_BulletinEntryDiff
if(count($proposedCourse->termsOffered) > 0 && count($proposedCourse->termsOffered) < 3) {
$termsOffered = implode(', ', $proposedCourse->termsOffered);
$termsOffered = strtr($termsOffered, array('Fall' => 'I', 'Spring' => 'II', 'Summer' => 'III'));
} else {
$termsOffered = '';
}
if(count($creditListings) > 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment