summaryrefslogtreecommitdiff
path: root/plugins/share
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-11-14 21:20:59 +0300
committerAndrew Dolgov <[email protected]>2021-11-14 21:20:59 +0300
commit242cf916eff84325c4ab30fdc4dc24292ab6127f (patch)
tree24653232507f34c905f2be815c75f02bc83c09f2 /plugins/share
parent5f808051b2bdb2e43f16693ba19b20940944d556 (diff)
deal with phpstan warnings in plugins/note, nsfw, and share
Diffstat (limited to 'plugins/share')
-rw-r--r--plugins/share/init.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/share/init.php b/plugins/share/init.php
index b900de5c0..0b14c673b 100644
--- a/plugins/share/init.php
+++ b/plugins/share/init.php
@@ -194,10 +194,7 @@ class Share extends Plugin {
strip_tags($content_decoded)
)
), 500, "...")) ?>">
-
- <?php if ($og_image) { ?>
- <meta property='og:image' content="<?= htmlspecialchars($og_image) ?>">
- <?php } ?>
+ <meta property='og:image' content="<?= htmlspecialchars($og_image) ?>">
</head>
<body class='flat ttrss_utility ttrss_zoom css_loading'>