summaryrefslogtreecommitdiff
path: root/opml.php
diff options
context:
space:
mode:
Diffstat (limited to 'opml.php')
-rw-r--r--opml.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/opml.php b/opml.php
index 89f9a9461..d5eb0e0e5 100644
--- a/opml.php
+++ b/opml.php
@@ -95,7 +95,7 @@
<body><h1>Importing OPML...</h1>
<div>";
- if (get_pref($link, 'WEB_DEMO_MODE')) {
+ if (WEB_DEMO_MODE) {
print "OPML import is disabled in demo-mode.";
print "<p><a class=\"button\" href=\"prefs.php\">
Return to preferences</a></div></body></html>";