missing placeholder for name_cache value

This commit is contained in:
Tobias Diekershoff 2016-11-03 14:00:20 +01:00
parent 9dd3e9d19a
commit 3a2ec5e4db

View file

@ -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;
}
}