diff --git a/mod/notes.php b/mod/notes.php index 061f5838cc..369f120a76 100644 --- a/mod/notes.php +++ b/mod/notes.php @@ -14,7 +14,7 @@ function notes_init(&$a) { } -function notes_content(&$a,$update) { +function notes_content(&$a,$update = false) { if(! local_user()) { notice( t('Permission denied.') . EOL);