From 57d631b47a0604ac4a50fb9294db1cea35c0944a Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 11 Sep 2011 22:57:12 -0700 Subject: [PATCH] supply default value for update --- mod/notes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);