[opw-web] Properly load contracts_active when editing a program



commit 7dc5478ad41b9d4e61dda59944ac0d5dc56f2e47
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Wed Dec 2 23:58:02 2015 -0500

    Properly load contracts_active when editing a program

 modules/mod_manage_programs.php |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/modules/mod_manage_programs.php b/modules/mod_manage_programs.php
index b7ad50c..536d41d 100644
--- a/modules/mod_manage_programs.php
+++ b/modules/mod_manage_programs.php
@@ -181,6 +181,7 @@ else if ($action == 'editor')
         $dl_student = date('M d Y, h:i a', $row['dl_student']);
         $dl_mentor = date('M d Y, h:i a', $row['dl_mentor']);
         $active = $row['is_active'];
+        $contracts_active = $row['contracts_active'];
     }
 
     // Assign skin data


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]