diff options
author | Mario <mario@mariovavti.com> | 2024-03-06 20:52:36 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-03-06 20:52:36 +0000 |
commit | 27e57ff7aad9b70a4d088b880fac4af2920fdd31 (patch) | |
tree | 6ba84a998cdb62013690646116c8ac6593889147 /Zotlabs | |
parent | 74fc7508f31b51f9b72ecf83dac531b0e84fdf20 (diff) | |
download | volse-hubzilla-27e57ff7aad9b70a4d088b880fac4af2920fdd31.tar.gz volse-hubzilla-27e57ff7aad9b70a4d088b880fac4af2920fdd31.tar.bz2 volse-hubzilla-27e57ff7aad9b70a4d088b880fac4af2920fdd31.zip |
fix another php warning
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Display.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php index a1e8d0d1d..f08aedc95 100644 --- a/Zotlabs/Module/Display.php +++ b/Zotlabs/Module/Display.php @@ -159,7 +159,7 @@ class Display extends Controller { call_hooks('item_custom_display', $target_item); $simple_update = ''; - if($update && $_SESSION['loadtime']) + if($update && isset($_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']) . "' ) "; if((! $update) && (! $load)) { |