Browse Source

Merge pull request #2884 from tobiasd/20161103-fixnotifications

missing placeholder for name_cache value
pull/2886/head
rabuzarus 5 years ago
committed by GitHub
parent
commit
8de5d6d198
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      include/enotify.php

+ 2
- 2
include/enotify.php 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;
}
}

Loading…
Cancel
Save