aboutsummaryrefslogtreecommitdiffstats
path: root/include/notifier.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-18 17:30:06 -0700
committerFriendika <info@friendika.com>2011-08-18 17:30:06 -0700
commit2df7251b349fa3ef9650cf8adb1fb680f253930d (patch)
tree979b20a30d5c4d36729fe356898dc4248b64e18d /include/notifier.php
parent609741573c40ef11732d8ae59317e1378f31686b (diff)
downloadvolse-hubzilla-2df7251b349fa3ef9650cf8adb1fb680f253930d.tar.gz
volse-hubzilla-2df7251b349fa3ef9650cf8adb1fb680f253930d.tar.bz2
volse-hubzilla-2df7251b349fa3ef9650cf8adb1fb680f253930d.zip
notifier issue
Diffstat (limited to 'include/notifier.php')
-rw-r--r--include/notifier.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/notifier.php b/include/notifier.php
index 15fb38534..89c36e434 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -587,8 +587,9 @@ function notifier_run($argv, $argc){
*/
$r = q("SELECT `id`, `name` FROM `contact`
- WHERE `network` = NETWORK_DFRN AND `uid` = %d AND `blocked` = 0 AND `pending` = 0
+ WHERE `network` = '%s' AND `uid` = %d AND `blocked` = 0 AND `pending` = 0
AND `rel` != %d ",
+ dbesc(NETWORK_DFRN),
intval($owner['uid']),
intval(CONTACT_IS_SHARING)
);