Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion components/feed_item.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ protected function getActionData( NEWSFEED_CLASS_Action $action )
"userIds" => $creatorIdList,
'createTime' => $action->getCreateTime()
);

//init the var to avoid notice
if(!isset($shouldExtend)) { $shouldExtend = ''; }

$shouldExtend = $this->displayType == NEWSFEED_CMP_Feed::DISPLAY_TYPE_ACTIVITY && $lastActivity !== null;

Expand Down Expand Up @@ -746,4 +749,4 @@ public function renderMarkup( $cycle = null )

return $this->render();
}
}
}