diff options
author | Mario <mario@mariovavti.com> | 2024-01-28 15:03:40 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-01-28 15:03:40 +0000 |
commit | 390af7722df44dbfe4754f6814940d90774f5d15 (patch) | |
tree | 0ca8afca926ee29e9e5d0e8e5113fc696b841380 /Zotlabs/Module/Sse_bs.php | |
parent | e18157f818fc8de3e762e967929b117f51e00c1b (diff) | |
download | volse-hubzilla-390af7722df44dbfe4754f6814940d90774f5d15.tar.gz volse-hubzilla-390af7722df44dbfe4754f6814940d90774f5d15.tar.bz2 volse-hubzilla-390af7722df44dbfe4754f6814940d90774f5d15.zip |
fix last commit
Diffstat (limited to 'Zotlabs/Module/Sse_bs.php')
-rw-r--r-- | Zotlabs/Module/Sse_bs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Sse_bs.php b/Zotlabs/Module/Sse_bs.php index 38a6e6054..279b20982 100644 --- a/Zotlabs/Module/Sse_bs.php +++ b/Zotlabs/Module/Sse_bs.php @@ -121,7 +121,7 @@ class Sse_bs extends Controller { $mids = []; $str = ''; - $mids_all = unserialise(Cache::get('sse_mids_all_' . session_id()) ?? '{}'); + $mids_all = unserialise(Cache::get('sse_mids_all_' . session_id())) ?? []; foreach($arr as $a) { $mid_str = '\'' . dbesc(unpack_link_id($a)) . '\''; @@ -443,7 +443,7 @@ class Sse_bs extends Controller { $sql_extra2 = " AND CASE WHEN verb = '" . ACTIVITY_SHARE . "' THEN owner_xchan ELSE author_xchan END IN (" . self::$xchans . ") "; $sql_extra3 = ''; - $sse_mids_all = unserialise(Cache::get('sse_mids_all_' . session_id()) ?? '{}'); + $sse_mids_all = unserialise(Cache::get('sse_mids_all_' . session_id())) ?? []; if ($sse_mids_all) { $sql_extra3 = " AND mid NOT IN (" . protect_sprintf(implode(',', $sse_mids_all)) . ") "; } |