diff options
author | friendica <info@friendica.com> | 2014-11-22 12:26:33 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-11-22 12:26:33 -0800 |
commit | 86b6861aaeec44d4cc9c0e180915dae7fcaf6a97 (patch) | |
tree | a4a126cf558d7edad376135f57a4171589d70e18 /include/items.php | |
parent | b16f93883077a3637d055a4c70a28ef0c994efec (diff) | |
parent | ab5bf1b7d69f4027f595eef56cf4d99207b8b46e (diff) | |
download | volse-hubzilla-86b6861aaeec44d4cc9c0e180915dae7fcaf6a97.tar.gz volse-hubzilla-86b6861aaeec44d4cc9c0e180915dae7fcaf6a97.tar.bz2 volse-hubzilla-86b6861aaeec44d4cc9c0e180915dae7fcaf6a97.zip |
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index 477b5197e..c488e1953 100755 --- a/include/items.php +++ b/include/items.php @@ -1094,7 +1094,8 @@ function encode_item($item,$mirror = false) { $x['message_parent'] = $item['thr_parent']; $x['created'] = $item['created']; $x['edited'] = $item['edited']; - $x['expires'] = $item['expires']; + // always send 0's over the wire + $x['expires'] = (($item['expires'] == '0001-01-01 00:00:00') ? '0000-00-00 00:00:00' : $item['expires']); $x['commented'] = $item['commented']; $x['mimetype'] = $item['mimetype']; $x['title'] = $item['title']; |