From: toyomoyo Date: Fri, 28 Sep 2007 07:21:48 +0000 (+0000) Subject: minor fixes/typo for notes X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=db4ff7f8bc961657552cf08095d04a7fc16afb4c;p=moodle.git minor fixes/typo for notes --- diff --git a/notes/delete.php b/notes/delete.php index a0991cddb8..0ffe0ec7fc 100644 --- a/notes/delete.php +++ b/notes/delete.php @@ -48,4 +48,5 @@ if (data_submitted() && confirm_sesskey()) { echo '
'; note_print($note, NOTES_SHOW_BODY | NOTES_SHOW_HEAD); print_footer(); -} \ No newline at end of file +} +?> \ No newline at end of file diff --git a/notes/edit_form.php b/notes/edit_form.php index 3a3b9a8859..ef39288f2e 100644 --- a/notes/edit_form.php +++ b/notes/edit_form.php @@ -32,3 +32,4 @@ class note_edit_form extends moodleform { $mform->setType('note', PARAM_INT); } } +?> \ No newline at end of file diff --git a/notes/lib.php b/notes/lib.php index 9d5a887726..ca9a372ec8 100644 --- a/notes/lib.php +++ b/notes/lib.php @@ -33,7 +33,7 @@ define('NOTES_SHOW_FOOT', 0x04); */ function note_list($courseid=0, $userid=0, $state = '', $author = 0, $order='lastmodified DESC', $limitfrom=0, $limitnum=0) { // setup filters - $select = array(); + $selects = array(); if($courseid) { $selects[] = 'courseid=' . $courseid; } diff --git a/user/addnote.php b/user/addnote.php index 587e83d7b7..3e51c22e9a 100644 --- a/user/addnote.php +++ b/user/addnote.php @@ -85,3 +85,4 @@ foreach ($users as $k => $v) { print_table($table); echo '
'; print_footer($course); +?>