Fix Some Undefined Vars PHP Errors

This commit is contained in:
johnnyq
2024-06-07 17:57:02 -04:00
parent c2b7d03c22
commit fb4c1e828f
14 changed files with 32 additions and 22 deletions

View File

@@ -18,6 +18,8 @@ if (isset($_GET['tags']) && is_array($_GET['tags']) && !empty($_GET['tags'])) {
// Convert the sanitized tags into a comma-separated string
$sanitizedTagsString = implode(",", $sanitizedTags);
$tag_query = "AND tags.tag_id IN ($sanitizedTagsString)";
} else {
$tag_query = '';
}
//Rebuild URL