minor fixes/typo for notes

This commit is contained in:
toyomoyo
2007-09-28 07:21:48 +00:00
parent 667e08ef42
commit db4ff7f8bc
4 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -48,4 +48,5 @@ if (data_submitted() && confirm_sesskey()) {
echo '<br />';
note_print($note, NOTES_SHOW_BODY | NOTES_SHOW_HEAD);
print_footer();
}
}
?>
+1
View File
@@ -32,3 +32,4 @@ class note_edit_form extends moodleform {
$mform->setType('note', PARAM_INT);
}
}
?>
+1 -1
View File
@@ -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;
}