Fix 0 being interpreted as false
This commit is contained in:
parent
4971a19b8a
commit
2d5fcf1f15
@ -163,7 +163,7 @@ function uupListIds($search = null, $sortByDate = 0) {
|
|||||||
$cache->put($builds, 60);
|
$cache->put($builds, 60);
|
||||||
}
|
}
|
||||||
|
|
||||||
if($search) {
|
if($search != null) {
|
||||||
if(!preg_match('/^regex:/', $search)) {
|
if(!preg_match('/^regex:/', $search)) {
|
||||||
$searchSafe = preg_quote($search, '/');
|
$searchSafe = preg_quote($search, '/');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user