Skip to content

Commit 4990cd4

Browse files
authored
[4][com_newsfeed] hits must be 0 on new item (#40758)
1 parent 4efb936 commit 4990cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

administrator/components/com_newsfeeds/src/Table/NewsfeedTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function check()
115115
$this->metadesc = StringHelper::str_ireplace($bad_characters, '', $this->metadesc);
116116
}
117117

118-
if (is_null($this->hits)) {
118+
if (!$this->hits) {
119119
$this->hits = 0;
120120
}
121121

0 commit comments

Comments
 (0)