make wiki page mimetype default to wiki mimetype (this was the original intent but the wrong variable was used)

This commit is contained in:
zotlabs
2017-09-13 21:36:59 -07:00
parent b5966041be
commit 5be132f877
2 changed files with 4 additions and 2 deletions

View File

@@ -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']
));