minor fixes/typo for notes
This commit is contained in:
+2
-1
@@ -48,4 +48,5 @@ if (data_submitted() && confirm_sesskey()) {
|
||||
echo '<br />';
|
||||
note_print($note, NOTES_SHOW_BODY | NOTES_SHOW_HEAD);
|
||||
print_footer();
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -32,3 +32,4 @@ class note_edit_form extends moodleform {
|
||||
$mform->setType('note', PARAM_INT);
|
||||
}
|
||||
}
|
||||
?>
|
||||
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user