Fix 0 being interpreted as false

This commit is contained in:
eraseyourknees 2022-08-27 02:47:32 +02:00
parent 4971a19b8a
commit 2d5fcf1f15

View File

@ -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, '/');