dx v2: fix no day match
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ function findClosestDateSort($array, $targetDate)
|
||||
}
|
||||
}
|
||||
|
||||
return $result;
|
||||
return $result ?: ['content' => '[]'];
|
||||
}
|
||||
function getDayOfWeek(string $date)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user