# HG changeset patch # User Nathan Phillip Brink # Date 2013-10-30 01:37:13 # Node ID 555f118ada99906def9c0c8fbf33d1ec6d81f776 # Parent 143f48e9e1613a57a64ea99143d85fa84bcfa28d Fix pluralization issues in 143f48e9e161. diff --git a/inc/class.schedule.php b/inc/class.schedule.php --- a/inc/class.schedule.php +++ b/inc/class.schedule.php @@ -606,7 +606,7 @@ class Schedule $course->getName() . (empty($title) ? '' : ': ' . $title)); } - echo '. There are ' . $this->nPermutations . ' valid permutation' . ($this->nPermutations == 1 ? '' : 's') . ' for these courses.' . PHP_EOL; + echo '. There ' . ($this->nPermutations == 1 ? 'is' : 'are') . ' ' . $this->nPermutations . ' valid permutation' . ($this->nPermutations == 1 ? '' : 's') . ' for these courses.' . PHP_EOL; echo '

' . PHP_EOL; echo '
' . PHP_EOL