From 17a756d1932dd00f8ba6fc2eba63f01712669409 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 10 Aug 2007 06:52:11 +0100 Subject: article_publish_url: syntax fix --- functions.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index eb14f52e5..51c2dd17e 100644 --- a/functions.php +++ b/functions.php @@ -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"); -- cgit v1.2.3-54-g00ecf