aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHabeas Codice <habeascodice@federated.social>2015-01-30 16:15:05 -0800
committerHabeas Codice <habeascodice@federated.social>2015-01-30 16:15:05 -0800
commit5d2ab4a4fc60229c923a15e82df62c5ca172459b (patch)
treee561151d6ad76fa58200e69547dab86d972ac069
parent340212d77e246e2f46f0ae1efe5199bf01a858c8 (diff)
downloadvolse-hubzilla-5d2ab4a4fc60229c923a15e82df62c5ca172459b.tar.gz
volse-hubzilla-5d2ab4a4fc60229c923a15e82df62c5ca172459b.tar.bz2
volse-hubzilla-5d2ab4a4fc60229c923a15e82df62c5ca172459b.zip
prevent silly fake null date from causing problems OTW from older builds
-rw-r--r--include/message.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/message.php b/include/message.php
index 34fa2cd8d..bfc92cd6d 100644
--- a/include/message.php
+++ b/include/message.php
@@ -185,7 +185,7 @@ function send_message($uid = 0, $recipient='', $body='', $subject='', $replyto='
dbesc($mid),
dbesc($replyto),
dbesc(datetime_convert()),
- dbesc($expires)
+ dbescdate($expires)
);
// verify the save