supply default value for update
This commit is contained in:
parent
17b081f9f7
commit
57d631b47a
|
@ -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 New Issue
Block a user