summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 631bd9c)
raw | patch | inline | side by side (parent: 631bd9c)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 4 Jan 2007 10:13:49 +0000 (10:13 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 4 Jan 2007 10:13:49 +0000 (10:13 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5468 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/generic/class_user.inc | patch | blob | history |
index 063a974c3c93875a999d9bde394dbec8c93702a7..1b14539b8f284cdd4699703d7c1d714e88982d7a 100644 (file)
$date = $this->dateOfBirth;
// Trigger on dates like 1985-04-01, getdate only understands timestamps
- } else if (!is_numeric($this->dateOfBirth)){
+ } else if (!empty($this->dateOfBirth) && !is_numeric($this->dateOfBirth)){
$date= getdate(strtotime($this->dateOfBirth));
} else {