feat: add RichTextEditor component for rich text editing in articles
feat: create SanitizeBlogBodiesCommand to clean existing blog bodies according to current HTML sanitization policies test: add AppointmentTreatmentSessionLinkTest to ensure appointment booking functionality works correctly with treatment session links
This commit is contained in:
@@ -315,7 +315,7 @@ class ResourceController extends BaseController
|
||||
private function dayStart(?string $date): ?int
|
||||
{
|
||||
if ($date === null || $date === '') {
|
||||
return strtotime('today midnight') ?: null;
|
||||
return strtotime('today midnight');
|
||||
}
|
||||
|
||||
if (preg_match('/^\d{4}-\d{2}-\d{2}$/', $date) !== 1) {
|
||||
|
||||
Reference in New Issue
Block a user