diff options
author | Mario <mario@mariovavti.com> | 2020-05-05 14:51:00 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-05-05 14:51:00 +0000 |
commit | 06d1cf83d2b1acfef5529fe388d2502bea381881 (patch) | |
tree | 4a387d86ecfd5dfd72b311ca9aa95be4a61f63bc /Zotlabs/Module/Sse_bs.php | |
parent | de058901c2a8dd5fea09b1594c2ace0b8bd2c90f (diff) | |
download | volse-hubzilla-06d1cf83d2b1acfef5529fe388d2502bea381881.tar.gz volse-hubzilla-06d1cf83d2b1acfef5529fe388d2502bea381881.tar.bz2 volse-hubzilla-06d1cf83d2b1acfef5529fe388d2502bea381881.zip |
deal with polls and votes in enotify
Diffstat (limited to 'Zotlabs/Module/Sse_bs.php')
-rw-r--r-- | Zotlabs/Module/Sse_bs.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Module/Sse_bs.php b/Zotlabs/Module/Sse_bs.php index a8c0b2299..23bc3c96b 100644 --- a/Zotlabs/Module/Sse_bs.php +++ b/Zotlabs/Module/Sse_bs.php @@ -327,6 +327,7 @@ class Sse_bs extends Controller { $r = q("SELECT * FROM notify WHERE uid = %d AND seen = 0 ORDER BY created DESC", intval(self::$uid) ); + if($r) { foreach($r as $rr) { $result['notify']['notifications'][] = Enotify::format_notify($rr); |