瀏覽代碼

Fix duplicate semicolon in entry_header (#8203)

* Fix duplicate semicolon in entry_header

* Fix some more redundant syntax

Co-authored-by: Inverle <inverle@proton.me>

---------

Co-authored-by: Inverle <inverle@proton.me>
András Marczinkó 4 月之前
父節點
當前提交
14b394c72a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/views/helpers/index/normal/entry_header.phtml

+ 1 - 1
app/views/helpers/index/normal/entry_header.phtml

@@ -4,7 +4,7 @@
 	$topline_read = FreshRSS_Context::userConf()->topline_read;
 	$topline_favorite = FreshRSS_Context::userConf()->topline_favorite;
 	$topline_myLabels = FreshRSS_Context::userConf()->topline_myLabels;
-	$topline_sharing = FreshRSS_Context::userConf()->topline_sharing && (count(FreshRSS_Context::userConf()->sharing) > 0);;
+	$topline_sharing = FreshRSS_Context::userConf()->topline_sharing && count(FreshRSS_Context::userConf()->sharing) > 0;
 	$topline_website = FreshRSS_Context::userConf()->topline_website;
 	$topline_thumbnail = FreshRSS_Context::userConf()->topline_thumbnail;
 	$topline_summary = FreshRSS_Context::userConf()->topline_summary;