Skip to content

Commit

Permalink
Fixes comments vanishing issue #837
Browse files Browse the repository at this point in the history
  • Loading branch information
lianglee committed Feb 14, 2016
1 parent b73a00f commit 3ee4607
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion classes/OssnAnnotation.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,11 @@ public function getAnnotationsByOwner() {
if(!isset($this->page_limit)) {
$this->page_limit = false;
}
if(empty($this->owner_guid)){
return false;
}
$params = array();
$params['owner_guid'] = $this->subject_guid;
$params['owner_guid'] = $this->owner_guid;
$params['limit'] = $this->limit;
$params['order_by'] = $this->order_by;
$params['page_limit'] = $this->page_limit;
Expand Down

0 comments on commit 3ee4607

Please sign in to comment.