From 5cbbf13c3eb7d4754c6c8212d7cf4bed7b236f0d Mon Sep 17 00:00:00 2001 From: janw Date: Thu, 4 Jan 2007 10:13:49 +0000 Subject: [PATCH] Small fix git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5468 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/generic/class_user.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.30.2