aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorDM42.Net Hubzilla Development <hzdev@dm42.net>2019-11-28 00:27:12 -0500
committerDM42.Net Hubzilla Development <hzdev@dm42.net>2019-11-28 00:27:12 -0500
commitc86b35da701674510a97ccc21e46581bd864cc31 (patch)
tree840a17f2f4a39e627578fe2bbc9c518cc04ab790 /boot.php
parentb2003e2c3cac231f92a23331bdbd21721403d4c9 (diff)
downloadvolse-hubzilla-c86b35da701674510a97ccc21e46581bd864cc31.tar.gz
volse-hubzilla-c86b35da701674510a97ccc21e46581bd864cc31.tar.bz2
volse-hubzilla-c86b35da701674510a97ccc21e46581bd864cc31.zip
Move auto_save_draft to header from thread comment
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index b4e472d47..bc1e2a319 100755
--- a/boot.php
+++ b/boot.php
@@ -1205,7 +1205,8 @@ class App {
'$linkrel' => head_get_links(),
'$js_strings' => js_strings(),
'$zid' => get_my_address(),
- '$channel_id' => self::$profile['uid']
+ '$channel_id' => self::$profile['uid'],
+ '$auto_save_draft' => ((feature_enabled(self::$profile['uid'], 'auto_save_draft')) ? "true" : "false")
]
) . self::$page['htmlhead'];