Merge branch 'bug-19281/Bewerbungen01011970'

This commit is contained in:
Andreas Österreicher
2022-05-23 17:54:15 +02:00
+1 -1
View File
@@ -154,7 +154,7 @@ class datum
public function checkDatum($datum)
{
//Format dd.mm.yyyy
if(mb_ereg("([0-9]{2}).([0-9]{2}).([0-9]{4})$", $datum))
if(mb_ereg("([0-9]{2})[.]([0-9]{2})[.]([0-9]{4})$", $datum))
{
$year = substr($datum, 6, 4);