From 684efedcfdf654cf83853b4db65a316229579293 Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 29 May 2017 10:16:32 +0100 Subject: [PATCH] Log what URL query caused invalid search queries --- core/imageboard.pack.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/imageboard.pack.php b/core/imageboard.pack.php index 5f0253fc..46424643 100644 --- a/core/imageboard.pack.php +++ b/core/imageboard.pack.php @@ -953,7 +953,7 @@ class Image { } } - assert('$positive_tag_id_array || $negative_tag_id_array'); + assert('$positive_tag_id_array || $negative_tag_id_array', @$_GET['q']); $wheres = array(); if (!empty($positive_tag_id_array)) { $positive_tag_id_list = join(', ', $positive_tag_id_array);