From 2d5fcf1f15a81168e323111d0c7fe276fc70b605 Mon Sep 17 00:00:00 2001 From: eraseyourknees <112027564+eraseyourknees@users.noreply.github.com> Date: Sat, 27 Aug 2022 02:47:32 +0200 Subject: [PATCH] Fix 0 being interpreted as false --- listid.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/listid.php b/listid.php index 7d11f88..c23f3b1 100644 --- a/listid.php +++ b/listid.php @@ -163,7 +163,7 @@ function uupListIds($search = null, $sortByDate = 0) { $cache->put($builds, 60); } - if($search) { + if($search != null) { if(!preg_match('/^regex:/', $search)) { $searchSafe = preg_quote($search, '/');