From: janw Date: Thu, 4 Jan 2007 10:13:49 +0000 (+0000) Subject: Small fix X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5cbbf13c3eb7d4754c6c8212d7cf4bed7b236f0d;p=gosa.git Small fix git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5468 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc index 063a974c3..1b14539b8 100644 --- a/plugins/personal/generic/class_user.inc +++ b/plugins/personal/generic/class_user.inc @@ -221,7 +221,7 @@ class user extends plugin $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 {