aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2021-03-08 19:21:38 +0000
committerMax Kostikov <max@kostikov.co>2021-03-08 19:21:38 +0000
commit03bfb8a46f734f618ea80d14ab6f50eafeec2a66 (patch)
tree56a51c95343d4bd42b804450ce75789b613138db /Zotlabs
parent1561e4a89c33d215c82e60fb4bcfdef0d925dcd7 (diff)
downloadvolse-hubzilla-03bfb8a46f734f618ea80d14ab6f50eafeec2a66.tar.gz
volse-hubzilla-03bfb8a46f734f618ea80d14ab6f50eafeec2a66.tar.bz2
volse-hubzilla-03bfb8a46f734f618ea80d14ab6f50eafeec2a66.zip
Define $sql_extra2 variable before extending
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Channel.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Module/Channel.php b/Zotlabs/Module/Channel.php
index a513523a7..5b8dbaac4 100644
--- a/Zotlabs/Module/Channel.php
+++ b/Zotlabs/Module/Channel.php
@@ -328,6 +328,7 @@ class Channel extends Controller {
}
else {
+ $sql_extra2 = '';
if (x($category)) {
$sql_extra2 .= protect_sprintf(term_item_parent_query(App::$profile['profile_uid'], 'item', $category, TERM_CATEGORY));
}