Bernd Wurst commited on 2014-10-28 05:48:42
Zeige 1 geänderte Dateien mit 1 Einfügungen und 1 Löschungen.
| ... | ... |
@@ -198,7 +198,7 @@ function in_homedir($path) |
| 198 | 198 |
|
| 199 | 199 |
function check_date( $input ) |
| 200 | 200 |
{
|
| 201 |
- return (bool) preg_match("/[0-9]{4}-(0?[1-9]|11|12)-([012]?[0-9]|30|31)/", $input);
|
|
| 201 |
+ return (bool) preg_match("/[0-9]{4}-(0?[1-9]|10|11|12)-([012]?[0-9]|30|31)/", $input);
|
|
| 202 | 202 |
} |
| 203 | 203 |
|
| 204 | 204 |
|
| 205 | 205 |