projects
/
atutor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
196c437
)
http://atutor.ca/atutor/mantis/view.php?id=4622
author
cindy li
<cli@ocad.ca>
Wed, 24 Nov 2010 18:02:10 +0000
(18:02 -0000)
committer
cindy li
<cli@ocad.ca>
Wed, 24 Nov 2010 18:02:10 +0000
(18:02 -0000)
docs/users/private_enroll.php
patch
|
blob
|
history
diff --git
a/docs/users/private_enroll.php
b/docs/users/private_enroll.php
index
21a22ae
..
a4ebc5e
100644
(file)
--- a/
docs/users/private_enroll.php
+++ b/
docs/users/private_enroll.php
@@
-86,9
+86,8
@@
if ($_POST['submit']) {
}
}
}
- require(AT_INCLUDE_PATH.'header.inc.php');
- $msg->printFeedbacks('APPROVAL_PENDING');
- require(AT_INCLUDE_PATH.'footer.inc.php');
+ $msg->addFeedback('APPROVAL_PENDING');
+ header('Location: index.php');
exit;
} else {
$sql = "INSERT INTO ".TABLE_PREFIX."course_enrollment VALUES ($_SESSION[member_id], $course, 'y', 0, '"._AT('student')."', 0)";