aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-20 15:34:35 -0700
committerredmatrix <mike@macgirvin.com>2016-09-20 15:34:35 -0700
commit83dd1c7be20a1ba0ed510b1ee67dcac86e468674 (patch)
tree245f0c680bcd625a9ca4772544e9c5e6875fae6f /include
parent8ed9d915adafca24af450118d87b9140ef8126ba (diff)
downloadvolse-hubzilla-83dd1c7be20a1ba0ed510b1ee67dcac86e468674.tar.gz
volse-hubzilla-83dd1c7be20a1ba0ed510b1ee67dcac86e468674.tar.bz2
volse-hubzilla-83dd1c7be20a1ba0ed510b1ee67dcac86e468674.zip
issue #520
Diffstat (limited to 'include')
-rwxr-xr-xinclude/items.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index f2be2a114..951501b9f 100755
--- a/include/items.php
+++ b/include/items.php
@@ -1645,6 +1645,7 @@ function item_store($arr, $allow_exec = false, $deliver = true) {
$arr['expires'] = ((x($arr,'expires') !== false) ? datetime_convert('UTC','UTC',$arr['expires']) : NULL_DATE);
$arr['commented'] = ((x($arr,'commented') !== false) ? datetime_convert('UTC','UTC',$arr['commented']) : datetime_convert());
$arr['comments_closed'] = ((x($arr,'comments_closed') !== false) ? datetime_convert('UTC','UTC',$arr['comments_closed']) : NULL_DATE);
+ $arr['html'] = ((array_key_exists('html',$arr)) ? $arrr['html'] : '');
if($deliver) {
$arr['received'] = datetime_convert();