aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-03-14 20:23:33 +0000
committerMario <mario@mariovavti.com>2021-03-14 21:25:45 +0100
commita9a112e06358eec9040cdc03e1f7bf93ef21378d (patch)
tree35e7170b523126691243aa165c84c311edc8b837 /Zotlabs/Module
parent1e87fe6b4901aef213822abfbd1374cc09748850 (diff)
downloadvolse-hubzilla-a9a112e06358eec9040cdc03e1f7bf93ef21378d.tar.gz
volse-hubzilla-a9a112e06358eec9040cdc03e1f7bf93ef21378d.tar.bz2
volse-hubzilla-a9a112e06358eec9040cdc03e1f7bf93ef21378d.zip
php8: fix some undefined variables
(cherry picked from commit ed64eba13adf55e564d127e1640409fccca00fd3)
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Network.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Module/Network.php b/Zotlabs/Module/Network.php
index ee6ff3619..a21095940 100644
--- a/Zotlabs/Module/Network.php
+++ b/Zotlabs/Module/Network.php
@@ -457,6 +457,8 @@ class Network extends \Zotlabs\Web\Controller {
if($update && $_SESSION['loadtime'])
$simple_update = " AND (( item_unseen = 1 AND item.changed > '" . datetime_convert('UTC','UTC',$_SESSION['loadtime']) . "' ) OR item.changed > '" . datetime_convert('UTC','UTC',$_SESSION['loadtime']) . "' ) ";
+ $items = [];
+
if($nouveau && $load) {
// "New Item View" - show all items unthreaded in reverse created date order
$items = q("SELECT item.*, item.id AS item_id, created FROM item