diff options
author | zotlabs <mike@macgirvin.com> | 2017-09-16 01:06:44 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-09-16 01:06:44 -0700 |
commit | 991db806466d114b4ec179af9930e859bb21843b (patch) | |
tree | f3d8a5f09ba9c5b36c9bc8e0176b3d11cba732cf /Zotlabs/Lib/NativeWikiPage.php | |
parent | b1876ac14fc4f9b7e39989ef7e69c8135a25c13f (diff) | |
parent | cb3fb0049f64a92668bc94746dc55cc905683699 (diff) | |
download | volse-hubzilla-991db806466d114b4ec179af9930e859bb21843b.tar.gz volse-hubzilla-991db806466d114b4ec179af9930e859bb21843b.tar.bz2 volse-hubzilla-991db806466d114b4ec179af9930e859bb21843b.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'Zotlabs/Lib/NativeWikiPage.php')
-rw-r--r-- | Zotlabs/Lib/NativeWikiPage.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Lib/NativeWikiPage.php b/Zotlabs/Lib/NativeWikiPage.php index 558a70a3c..4b637781e 100644 --- a/Zotlabs/Lib/NativeWikiPage.php +++ b/Zotlabs/Lib/NativeWikiPage.php @@ -607,11 +607,11 @@ class NativeWikiPage { } static public function get_file_ext($arr) { - if($arr['mimeType'] === 'text/bbcode') + if($arr['mimetype'] === 'text/bbcode') return '.bb'; - elseif($arr['mimeType'] === 'text/markdown') + elseif($arr['mimetype'] === 'text/markdown') return '.md'; - elseif($arr['mimeType'] === 'text/plain') + elseif($arr['mimetype'] === 'text/plain') return '.txt'; } |