We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 95a0635 + c1c840a commit c3e5d5eCopy full SHA for c3e5d5e
Like/Plugin.php
@@ -89,7 +89,7 @@ public static function theLike($link = true){
89
$settings = Helper::options()->plugin('Like');
90
echo '<a href="javascript:;" class="'.$settings->likeClass.'" data-pid="'.$cid.'"><i class="fa-thumbs-up"></i>赞 (<span>'.$row['likes'].'</span>)</a>';
91
}else{
92
- return $row['likes'];
+ echo $row['likes'];
93
}
94
95
0 commit comments