mirror of
https://github.com/YGGverse/gemtext-php.git
synced 2026-03-31 17:55:38 +00:00
fix missed argument
This commit is contained in:
parent
557fc6681f
commit
f62ab80959
1 changed files with 1 additions and 1 deletions
|
|
@ -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')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue