Commit c5d27f85 authored by Mark Harding's avatar Mark Harding

(fix): comment on reminds should not go to remind_object

parent 3b7aafa9
No related merge requests found
Pipeline #74597978 failed with stages
in 13 minutes and 53 seconds
......@@ -146,9 +146,9 @@ class comments implements Interfaces\Api
default:
$entity = Core\Di\Di::_()->get('EntitiesBuilder')->single($pages[0]);
if ($entity instanceof Entities\Activity && $entity->remind_object) {
$entity = (object) $entity->remind_object;
}
// if ($entity instanceof Entities\Activity && $entity->remind_object) {
// $entity = (object) $entity->remind_object;
// }
if (!$pages[0] || !$entity || $entity->type == 'comment') {
return Factory::response([
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment