diff options
author | Andrew Dolgov <[email protected]> | 2022-11-28 19:24:12 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2022-11-28 19:24:12 +0300 |
commit | 94c49399cc10c1f7001e8c76db7575b70e1fc674 (patch) | |
tree | d5be976e4549b4ed36863fdb975a5101b6d8c33b /classes/article.php | |
parent | 52180c9f8f3c06b8bdfb942dd2aa2818e9dd41c6 (diff) |
get_self_url: strip all trailing slashes
Diffstat (limited to 'classes/article.php')
-rwxr-xr-x | classes/article.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/article.php b/classes/article.php index 17a40ca4f..1d441dee2 100755 --- a/classes/article.php +++ b/classes/article.php @@ -293,6 +293,7 @@ class Article extends Handler_Protected { } /** + * @param int $id article id * @return array{'formatted': string, 'entries': array<int, array<string, mixed>>} */ static function _format_enclosures(int $id, bool $always_display_enclosures, string $article_content, bool $hide_images = false): array { |