summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-09-15 16:03:09 +0300
committerAndrew Dolgov <[email protected]>2020-09-15 16:03:09 +0300
commitaeaafefa07b31c99efd27653ad22f4040572d441 (patch)
tree705ce20168cc34331f91e82e0788dfedb4deff05 /include
parente670ac2ee5f859a974035fd27471e3b456aed24d (diff)
don't pass csrf token as a GET parameter to Article
Diffstat (limited to 'include')
-rw-r--r--include/functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index 9aecaecb4..eaba61a05 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1002,6 +1002,7 @@
$max_feed_id = $row["mid"];
$num_feeds = $row["nf"];
+ $params["self_url_prefix"] = get_self_url_prefix();
$params["max_feed_id"] = (int) $max_feed_id;
$params["num_feeds"] = (int) $num_feeds;