dx v2: fix no day match
This commit is contained in:
1 parent
8fe904eebe
commit
e6c97a6499
1 file changed
+1
-1
+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