Commit 92d64ffead61dc0828e5f59f733c040b3ce5bdfe
1 parent
3489451b
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 | /** |