diff options
-rwxr-xr-x | include/items.php | 1 |
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(); |