aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-13 21:36:59 -0700
committerzotlabs <mike@macgirvin.com>2017-09-13 21:36:59 -0700
commit5be132f877f792e7b122a2b6ca18934b31b2f10c (patch)
tree10615f6c418e61f28194d49b61b49d15c8dc3253 /Zotlabs
parentb5966041be46ab7a16dc1ee93b5a07c5461bc73c (diff)
downloadvolse-hubzilla-5be132f877f792e7b122a2b6ca18934b31b2f10c.tar.gz
volse-hubzilla-5be132f877f792e7b122a2b6ca18934b31b2f10c.tar.bz2
volse-hubzilla-5be132f877f792e7b122a2b6ca18934b31b2f10c.zip
make wiki page mimetype default to wiki mimetype (this was the original intent but the wrong variable was used)
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Widget/Wiki_pages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Wiki_pages.php b/Zotlabs/Widget/Wiki_pages.php
index ac6549ffd..9d248759b 100644
--- a/Zotlabs/Widget/Wiki_pages.php
+++ b/Zotlabs/Widget/Wiki_pages.php
@@ -50,7 +50,7 @@ class Wiki_pages {
'$canadd' => $can_create,
'$candel' => $can_delete,
'$addnew' => t('Add new page'),
- '$mimetype' => mimetype_select(0,$p['mimeType'], [ 'text/markdown','text/bbcode' ]),
+ '$mimetype' => mimetype_select(0,$w['mimeType'], [ 'text/markdown','text/bbcode' ]),
'$pageName' => array('pageName', t('Page name')),
'$refresh' => $arr['refresh']
));