Skip to content

Commit

Permalink
Merge ece46be into 86b6b84
Browse files Browse the repository at this point in the history
  • Loading branch information
Sweepr committed Jan 17, 2021
2 parents 86b6b84 + ece46be commit 4138d94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/dao/Base/Dao_Base_Comment.php
Expand Up @@ -279,9 +279,9 @@ public function getNewCommentCountFor($nntpRefList, $ourUserId)
*/
public function removeComments($commentMsgIdList)
{
if (count($commentMsgIdList) == 0) {
return;
} // if
if (!is_array($commentMsgIdList) || count($commentMsgIdList) == 0) {
return;
}

$msgIdList = $this->_conn->arrayKeyToInForComments($commentMsgIdList);

Expand Down

0 comments on commit 4138d94

Please sign in to comment.