mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 03:09:58 +03:00
parent
effce04258
commit
5a731837b4
1 changed files with 1 additions and 1 deletions
|
@ -705,7 +705,7 @@ function parse_well_known_params_url($tokens, &$i)
|
|||
foreach ($page['chronology_date'] as $date_token)
|
||||
{
|
||||
// each date part must be an integer (number of the year, number of the month, number of the week or number of the day)
|
||||
if (!preg_match('/^\d+$/', $date_token))
|
||||
if (!preg_match('/^(\d+|any)$/', $date_token))
|
||||
{
|
||||
fatal_error('bad chronology field (date)');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue