aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Sse_bs.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-03-06 20:49:01 +0000
committerMario <mario@mariovavti.com>2024-03-06 20:49:01 +0000
commit74fc7508f31b51f9b72ecf83dac531b0e84fdf20 (patch)
tree5f51bac97610de372189d4270968d684420a389f /Zotlabs/Module/Sse_bs.php
parent3eea4f475ce80cefb16167782a04a65ba5091e84 (diff)
downloadvolse-hubzilla-74fc7508f31b51f9b72ecf83dac531b0e84fdf20.tar.gz
volse-hubzilla-74fc7508f31b51f9b72ecf83dac531b0e84fdf20.tar.bz2
volse-hubzilla-74fc7508f31b51f9b72ecf83dac531b0e84fdf20.zip
fix php warning
Diffstat (limited to 'Zotlabs/Module/Sse_bs.php')
-rw-r--r--Zotlabs/Module/Sse_bs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Sse_bs.php b/Zotlabs/Module/Sse_bs.php
index 71fc16aae..9fb295c4b 100644
--- a/Zotlabs/Module/Sse_bs.php
+++ b/Zotlabs/Module/Sse_bs.php
@@ -122,7 +122,7 @@ class Sse_bs extends Controller {
$str = '';
$slice = 0;
- $mids_all = unserialise($_SESSION['sse_mids_all']) ?? [];
+ $mids_all = isset($_SESSION['sse_mids_all']) ? unserialise($_SESSION['sse_mids_all']) : [];
if (count($mids_all) > 3000) {
$slice = count($mids_all) - 3000;