diff --git a/app/controllers/admin/user.php b/app/controllers/admin/user.php
index 4e8b2fe2e22a40b660d016fbbe8b50bba4da9ffc..eacfb50bd9ced8620bf261ac3127e5c30c71e77a 100644
--- a/app/controllers/admin/user.php
+++ b/app/controllers/admin/user.php
@@ -1342,7 +1342,7 @@ class Admin_UserController extends AuthenticatedController
         if (!empty($courses)) {
             $this->sections['courses'] = $courses;
         }
-        if (!empty($courses)) {
+        if (!empty($closed_courses)) {
             $this->sections['closed_courses'] = $closed_courses;
         }