1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/12766] Event exporter does not like RCx as version

PHPBB3-12766
This commit is contained in:
PayBas
2014-06-25 13:35:57 +02:00
parent 3e9d62b9b0
commit 1b0b4cd5e2
3 changed files with 4 additions and 2 deletions

View File

@@ -227,7 +227,7 @@ class md_exporter
*/
public function validate_since($since)
{
if (!preg_match('#^\d+\.\d+\.\d+(?:-(?:a|b|rc|pl)\d+)?$#', $since))
if (!preg_match('#^\d+\.\d+\.\d+(?:-(?:a|b|RC|pl)\d+)?$#', $since))
{
throw new \LogicException("Invalid since information found for event '{$this->current_event}'");
}