fix missed argument

This commit is contained in:
yggverse 2024-06-24 14:54:15 +03:00
parent 557fc6681f
commit f62ab80959

View file

@ -83,7 +83,7 @@ class Link
$date $date
); );
if (!preg_match('/^\d{4}-\d{2}-\d{2}$/')) if (!preg_match('/^\d{4}-\d{2}-\d{2}$/', $date))
{ {
throw new \Exception( throw new \Exception(
_('Date does not match format YYYY-MM-DD') _('Date does not match format YYYY-MM-DD')