Commit 0f4b40b9daa7cfaee69f2aee376feb4d2f4243cc
1 parent
ebb36e55
return blank if the date is null
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2097 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
lib/archiving/ArchivingDateSettings.inc
| @@ -53,7 +53,7 @@ class ArchivingDateSettings { | @@ -53,7 +53,7 @@ class ArchivingDateSettings { | ||
| 53 | * Gets the expiration date | 53 | * Gets the expiration date |
| 54 | */ | 54 | */ |
| 55 | function getExpirationDate() { | 55 | function getExpirationDate() { |
| 56 | - return $this->dExpirationDate; | 56 | + return ($this->dExpirationDate == "NULL" ? "" : $this->dExpirationDate); |
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | /** | 59 | /** |