aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-01-28 20:19:51 +0000
committerMario <mario@mariovavti.com>2023-01-28 20:19:51 +0000
commit7faa3359f030f3fb4eab38d6bd06719c5b9b0f1a (patch)
treec5ea55ed628f808763d96c4c22a9d334033247ae /Zotlabs
parent71f1814477e3d3de3b78c37ff752b984d0f046be (diff)
downloadvolse-hubzilla-7faa3359f030f3fb4eab38d6bd06719c5b9b0f1a.tar.gz
volse-hubzilla-7faa3359f030f3fb4eab38d6bd06719c5b9b0f1a.tar.bz2
volse-hubzilla-7faa3359f030f3fb4eab38d6bd06719c5b9b0f1a.zip
fix undefined varable warning
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Widget/Messages.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Messages.php b/Zotlabs/Widget/Messages.php
index 8c413e16e..edd15c2a5 100644
--- a/Zotlabs/Widget/Messages.php
+++ b/Zotlabs/Widget/Messages.php
@@ -66,7 +66,8 @@ class Messages {
$loadtime = (($offset) ? $_SESSION['messages_loadtime'] : datetime_convert());
$vnotify = get_pconfig(local_channel(), 'system', 'vnotify', -1);
- $vnotify_sql = '';
+ $vnotify_sql_c = '';
+ $vnotify_sql_i = '';
if (!($vnotify & VNOTIFY_LIKE)) {
$vnotify_sql_c = " AND c.verb NOT IN ('" . dbesc(ACTIVITY_LIKE) . "', '" . dbesc(ACTIVITY_DISLIKE) . "') ";