supply default value for update
This commit is contained in:
parent
17b081f9f7
commit
57d631b47a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue