From 0f4b40b9daa7cfaee69f2aee376feb4d2f4243cc Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Fri, 6 Jun 2003 14:02:08 +0000 Subject: [PATCH] return blank if the date is null --- lib/archiving/ArchivingDateSettings.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/archiving/ArchivingDateSettings.inc b/lib/archiving/ArchivingDateSettings.inc index 1f11a66..ad32195 100644 --- a/lib/archiving/ArchivingDateSettings.inc +++ b/lib/archiving/ArchivingDateSettings.inc @@ -53,7 +53,7 @@ class ArchivingDateSettings { * Gets the expiration date */ function getExpirationDate() { - return $this->dExpirationDate; + return ($this->dExpirationDate == "NULL" ? "" : $this->dExpirationDate); } /** -- libgit2 0.21.4