[Aimmath-commit] moodle/mod/math_assignment pdfgen.php,1.6,1.7
Brought to you by:
gustav_delius,
npstrick
|
From: <ma...@us...> - 2003-09-24 11:53:46
|
Update of /cvsroot/aimmath/moodle/mod/math_assignment
In directory sc8-pr-cvs1:/tmp/cvs-serv30265/mod/math_assignment
Modified Files:
pdfgen.php
Log Message:
Fixed a minor bug (isteacher is a function not a constant!)
Index: pdfgen.php
===================================================================
RCS file: /cvsroot/aimmath/moodle/mod/math_assignment/pdfgen.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** pdfgen.php 22 Sep 2003 21:03:55 -0000 1.6
--- pdfgen.php 24 Sep 2003 11:53:42 -0000 1.7
***************
*** 26,30 ****
require_login($course->id);
! if (!isstudent($course->id) and !isteacher) {
error("Sorry, this assignment is not for you!");
}
--- 26,30 ----
require_login($course->id);
! if (!isstudent($course->id) and !isteacher($course->id)) {
error("Sorry, this assignment is not for you!");
}
|