aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-06 13:32:29 -0800
committerfriendica <info@friendica.com>2014-02-06 13:32:29 -0800
commitf9381ed746009348462f4f96ed397fabab4e172e (patch)
tree694e04c1d1a2236cd342548abca786dec214fd75 /include/items.php
parent7a522be20bd66a0a904dcddf33d53e59aa04a92d (diff)
downloadvolse-hubzilla-f9381ed746009348462f4f96ed397fabab4e172e.tar.gz
volse-hubzilla-f9381ed746009348462f4f96ed397fabab4e172e.tar.bz2
volse-hubzilla-f9381ed746009348462f4f96ed397fabab4e172e.zip
notification bug - don't use $r, we already set it to something else that we need further on.
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php
index 8b9cc8d04..b7919ade6 100755
--- a/include/items.php
+++ b/include/items.php
@@ -2109,11 +2109,13 @@ function send_status_notifications($post_id,$item) {
$link = get_app()->get_baseurl() . '/display/' . $item['mid'];
- $r = q("select id from notify where link = '%s' and uid = %d limit 1",
+
+ $y = q("select id from notify where link = '%s' and uid = %d limit 1",
dbesc($link),
intval($item['uid'])
);
- if($r)
+
+ if($y)
$notify = false;
if(! $notify)