diff --git a/application/modules/fouryearplans/views/scripts/view/four-year-plan.phtml b/application/modules/fouryearplans/views/scripts/view/four-year-plan.phtml
index d6556db253fb690d3dc96445dc581c974c0b5ca3..cc197db0f73b2cbe34a52e11cf2fee452d29a847 100644
--- a/application/modules/fouryearplans/views/scripts/view/four-year-plan.phtml
+++ b/application/modules/fouryearplans/views/scripts/view/four-year-plan.phtml
@@ -57,18 +57,28 @@ $uniqueId = ++$this->layout()->uniqueId;
                                 </tr>
                             <?php
                             } else if ($course['course']) {
-                                $planCourse = $this->planCourses[$course['course']];
-                                ?>
-                                <tr class="change-<?php echo $course['change']; ?>">
-                                    <td>
-                                        <a href="<?php echo $this->baseUrl('/courses/public-view/view/id/' . $planCourse->getCourseId()); ?>">
-                                            <?php echo $planCourse->getCourseCode(); ?>
-                                        </a>
-                                    </td>
-                                    <td><?php echo $course['hours'] ? $course['hours'] . ' cr' : substr($planCourse->getCreditsText(), 1, strpos($planCourse->getCreditsText(), 'cr') + 1); ?></td>
-                                    <td><?php echo $planCourse->getTitle(); ?></td>
-                                </tr>
-                            <?php }} ?>
+								$planCourse = $this->planCourses[$course['course']];
+								if ($planCourse) {
+									?>
+									<tr class="change-<?php echo $course['change']; ?>">
+										<td>
+											<a href="<?php echo $this->baseUrl('/courses/public-view/view/id/' . $planCourse->getCourseId()); ?>">
+												<?php echo $planCourse->getCourseCode(); ?>
+											</a>
+										</td>
+										<td><?php echo $course['hours'] ? $course['hours'] . ' cr' : substr($planCourse->getCreditsText(), 1, strpos($planCourse->getCreditsText(), 'cr') + 1); ?></td>
+										<td><?php echo $planCourse->getTitle(); ?></td>
+									</tr>
+								<?php }
+								else {
+								?>
+									<tr class="change-<?php echo $course['change']; ?>">
+										<td>
+											Error loading current course information.
+										</td>
+										<td></td>
+									</tr>
+							<?php }}} ?>
                         </tbody>
                     </table>
                 </div>