diff options
author | Andrew Dolgov <[email protected]> | 2021-11-14 21:20:59 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-11-14 21:20:59 +0300 |
commit | 242cf916eff84325c4ab30fdc4dc24292ab6127f (patch) | |
tree | 24653232507f34c905f2be815c75f02bc83c09f2 /plugins/share | |
parent | 5f808051b2bdb2e43f16693ba19b20940944d556 (diff) |
deal with phpstan warnings in plugins/note, nsfw, and share
Diffstat (limited to 'plugins/share')
-rw-r--r-- | plugins/share/init.php | 5 |
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'> |