From a8774abb3588fea5cdbcb09e8efbda6e4032416e Mon Sep 17 00:00:00 2001 From: Tim Steiner <tsteiner2@unl.edu> Date: Tue, 14 Apr 2009 20:45:13 +0000 Subject: [PATCH] Fix the year displayed for fall terms when a term list is generated. --- application/modules/courses/controllers/ViewController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/modules/courses/controllers/ViewController.php b/application/modules/courses/controllers/ViewController.php index f9c8dd66..55f1da8e 100644 --- a/application/modules/courses/controllers/ViewController.php +++ b/application/modules/courses/controllers/ViewController.php @@ -118,7 +118,7 @@ class Courses_ViewController extends App_Controller_Action for ($year = $nextYear; $year < $thisYear + 5; $year++) { $terms[$year . '2'] = 'Spring ' . $year; $terms[$year . '3'] = 'Summer ' . $year; - $terms[($year + 1) . '1'] = 'Fall ' . ($year + 1); + $terms[($year + 1) . '1'] = 'Fall ' . $year; } return $terms; -- GitLab