Merge pull request #2884 from tobiasd/20161103-fixnotifications
missing placeholder for name_cache value
This commit is contained in:
commit
8de5d6d198
1 changed files with 2 additions and 2 deletions
|
@ -441,7 +441,7 @@ function notification($params) {
|
|||
// create notification entry in DB
|
||||
|
||||
$r = q("INSERT INTO `notify` (`hash`, `name`, `url`, `photo`, `date`, `uid`, `link`, `iid`, `parent`, `type`, `verb`, `otype`, `name_cache`)
|
||||
values('%s', '%s', '%s', '%s', '%s', %d, '%s', %d, %d, %d, '%s', '%s')",
|
||||
values('%s', '%s', '%s', '%s', '%s', %d, '%s', %d, %d, %d, '%s', '%s', '%s')",
|
||||
dbesc($datarray['hash']),
|
||||
dbesc($datarray['name']),
|
||||
dbesc($datarray['url']),
|
||||
|
@ -805,4 +805,4 @@ function format_notification_message($name, $message) {
|
|||
}
|
||||
|
||||
return $message;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue