FIxed some warnings bug 5091

This commit is contained in:
moodler 2006-04-05 07:27:58 +00:00
parent 9ee20a32f6
commit a9ac269967
2 changed files with 1 additions and 2 deletions

View File

@ -37,7 +37,7 @@
if (isset($record)) {
$row[] = new tabobject('single', $CFG->wwwroot.'/mod/data/view.php?d='.$data->id.'&rid='.$record->id, get_string('single','data'), '', true);
} else {
$row[] = new tabobject('single', $CFG->wwwroot.'/mod/data/view.php?d='.$data->id.'&mode=single', get_string('single','data'), '', true);
$row[] = new tabobject('single', $CFG->wwwroot.'/mod/data/view.php?d='.$data->id.'&mode=single', get_string('single','data'), '', true);
}
if (isloggedin() and !isguest()) {

View File

@ -143,7 +143,6 @@
/// Add the HTML editor(s).
echo '<td>';
$usehtmleditor = can_use_html_editor() && ($mode != 'csstemplate');
if ($mode == 'listtemplate'){
// Print the list template header.