[opw-web] Fix missing parameters when creating a program



commit 0d345654bab4f6f98e154346a4ea20f7ad6a56c9
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Mon Mar 10 09:41:17 2014 -0400

    Fix missing parameters when creating a program

 modules/mod_manage_programs.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/modules/mod_manage_programs.php b/modules/mod_manage_programs.php
index 37ca446..d00054a 100644
--- a/modules/mod_manage_programs.php
+++ b/modules/mod_manage_programs.php
@@ -105,7 +105,8 @@ else if ($action == 'editor')
                             'end_time' => $end_time,
                             'dl_student' => $dl_student,
                             'dl_mentor' => $dl_mentor,
-                            'is_active' => $active,
+                            'active' => $active,
+                            'deadline' => $deadline,
                             'complete' => $complete);
 
             if ($id > 0)


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