diff options
-rw-r--r-- | Zotlabs/Lib/Activity.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index c2e719554..29986e4a5 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -2520,7 +2520,7 @@ class Activity { } if ($act->objprop('type') === 'Question' && in_array($act->type, ['Create', 'Update'])) { - if ($act->objprop['endTime']) { + if ($act->objprop('endTime')) { $s['comments_closed'] = datetime_convert('UTC', 'UTC', $act->obj['endTime']); } } |