A hack to fix bug 1488. html editor needs $course object defined. Should perhaps be solved differently in the long run.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
<?php
|
||||
// The following is a hack to fix bug 1488
|
||||
$course = get_record('course', 'id', ($form->courseid) ? $form->courseid : $site->id);
|
||||
?>
|
||||
<form method="post" action="event.php" name="edit">
|
||||
<table cellpadding=5>
|
||||
<tr>
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
<?php
|
||||
// The following is a hack to fix bug 1488
|
||||
$course = get_record('course', 'id', ($form->courseid) ? $form->courseid : $site->id);
|
||||
?>
|
||||
<form method="post" action="event.php" name="new">
|
||||
<table cellpadding=5>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user