aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/NativeWikiPage.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-16 01:06:44 -0700
committerzotlabs <mike@macgirvin.com>2017-09-16 01:06:44 -0700
commit991db806466d114b4ec179af9930e859bb21843b (patch)
treef3d8a5f09ba9c5b36c9bc8e0176b3d11cba732cf /Zotlabs/Lib/NativeWikiPage.php
parentb1876ac14fc4f9b7e39989ef7e69c8135a25c13f (diff)
parentcb3fb0049f64a92668bc94746dc55cc905683699 (diff)
downloadvolse-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.php6
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';
}