summaryrefslogtreecommitdiff
path: root/classes/opml.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-03 15:46:54 +0300
committerAndrew Dolgov <[email protected]>2018-12-03 15:46:54 +0300
commit4cb3a601a0fbeb0bf98c932bd5af8a3cffa8ab64 (patch)
treeed3dae8894591be12287b3cce3ff5b4cc6d1ce0e /classes/opml.php
parentcd0a39ea4cb7137aef5b225bdc4472d207a48e62 (diff)
parent98986ce066764158c045c3e23b69e98183b94236 (diff)
Merge branch 'js-objects' into weblate-integration
Diffstat (limited to 'classes/opml.php')
-rw-r--r--classes/opml.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/classes/opml.php b/classes/opml.php
index 5b7690375..1b1897e7d 100644
--- a/classes/opml.php
+++ b/classes/opml.php
@@ -8,11 +8,8 @@ class Opml extends Handler_Protected {
}
function export() {
- $output_name = $_REQUEST["filename"];
- if (!$output_name) $output_name = "TinyTinyRSS.opml";
-
- $show_settings = $_REQUEST["settings"];
-
+ $output_name = "tt-rss_".date("Y-m-d").".opml";
+ $show_settings = $_REQUEST["include_settings"];
$owner_uid = $_SESSION["uid"];
$rc = $this->opml_export($output_name, $owner_uid, false, ($show_settings == 1));