summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9b65c44)
raw | patch | inline | side by side (parent: 9b65c44)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Mar 2010 07:30:03 +0000 (07:30 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Mar 2010 07:30:03 +0000 (07:30 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16402 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/utils/class_tests.inc | patch | blob | history |
index 2073d4973680e8583168a68d7930ac1d4ec263eb..2e5eab2f7f355aaf9f4beeb842200df1309899c3 100644 (file)
}
#TODO: use $lang to check date format
- if (!preg_match("/([0-9]{1,2})\.([0-9]{1,2})\.([0-9]{4})/", $date, $matches)) {
+ if (!preg_match("/^([0-9]{1,2})\.([0-9]{1,2})\.([0-9]{4})$/", $date, $matches)) {
return false;
}