Skip to content

Commit 38fab32

Browse files
committed
Fix method call to use instance method for score formatting in Post class
1 parent cf15a6d commit 38fab32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

classes/post.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ private function getFeedItemMeta() {
581581
$score = '';
582582
$reading_time = '';
583583
if (SHOW_SCORE && !empty($this->score)) {
584-
$score = 'Score: ' . formatScore($this->score) . ' | ';
584+
$score = 'Score: ' . $this->formatScore($this->score) . ' | ';
585585
}
586586
$permalink = !empty($this->permalink) ? "<a href='" . $this->permalink . "'>Post permalink</a>" : '';
587587
$original_permalink = !empty($this->original_permalink) ? "<a href='" . $this->original_permalink . "'>Original post</a>" : '';

0 commit comments

Comments
 (0)