From: moodler Date: Wed, 5 Apr 2006 07:27:58 +0000 (+0000) Subject: FIxed some warnings bug 5091 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a9ac2699674c75bf3d3ac05b54eb30b04f28c4ab;p=moodle.git FIxed some warnings bug 5091 --- diff --git a/mod/data/tabs.php b/mod/data/tabs.php index 6a868c6385..0e637f2bb1 100755 --- a/mod/data/tabs.php +++ b/mod/data/tabs.php @@ -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()) { diff --git a/mod/data/templates.php b/mod/data/templates.php index 24aacdabb1..934ba21f58 100755 --- a/mod/data/templates.php +++ b/mod/data/templates.php @@ -143,7 +143,6 @@ /// Add the HTML editor(s). - echo ''; $usehtmleditor = can_use_html_editor() && ($mode != 'csstemplate'); if ($mode == 'listtemplate'){ // Print the list template header.