Fixed one typo-bug! :-P

This commit is contained in:
stronk7
2005-12-06 10:28:53 +00:00
parent 4e7a03f68e
commit 2396b0d0c2
+1 -1
View File
@@ -297,7 +297,7 @@ class resource_ims extends resource_base {
print_simple_box_start('center', '60%');
echo '<p align="center">'.$errortext.'</p>';
/// If errors were 3 or 4 and isteacheredit(), show the deploy button
if (isteacheredit($course->id) && ($errorcode = 3 || $errorcode ==4)) {
if (isteacheredit($course->id) && ($errorcode == 3 || $errorcode == 4)) {
$link = 'type/ims/deploy.php';
$options['courseid'] = $course->id;
$options['cmid'] = $cm->id;