1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-25 21:21:29 +00:00

article_publish_url: syntax fix

This commit is contained in:
Andrew Dolgov
2007-08-10 06:52:11 +01:00
parent 6af274f68d
commit 17a756d193
2 changed files with 9 additions and 2 deletions

View File

@@ -4216,8 +4216,7 @@
function article_publish_url($link) {
$url_path = 'http://' . $_SERVER["HTTP_HOST"] . \
parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
$url_path = 'http://' . $_SERVER["HTTP_HOST"] . parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
$url_path .= "?op=publish&key=" . get_pref($link, "_PREFS_PUBLISH_KEY");