Define $sql_extra2 variable before extending

This commit is contained in:
Max Kostikov
2021-03-08 19:21:38 +00:00
parent 1561e4a89c
commit 03bfb8a46f

View File

@@ -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));
}