Skip to content

Commit 7748315

Browse files
committed
fix markdown save
1 parent 5f5b8db commit 7748315

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

appinfo/info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Mac, with sync capabilities
1919
- Statistics : words/sentences/characters
2020
- Sync with ownCloud/NextCloud
2121
- Online editor as a ownCloud/NextCloud App]]></description>
22-
<version>0.25.3</version>
22+
<version>0.25.4</version>
2323
<licence>agpl</licence>
2424
<author mail="[email protected]" >Phie</author>
2525
<namespace>Carnet</namespace>

lib/Controller/NoteController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ private function saveFiles($inFolder, $files, $path, $id){
770770
return false;
771771
}
772772
} catch(\OCP\Files\NotFoundException $e) {
773-
if($this->shouldUseFolderNotes() || isset($_POST['isMarkdown']) && $_POST['isMarkDown']){
773+
if($this->shouldUseFolderNotes() || isset($_POST['isMarkdown']) && $_POST['isMarkdown']){
774774
return $this->saveOpenNoteAsDir($inFolder, $files, $path, $id);
775775
} else {
776776
$this->saveOpenNote($_POST['path'],$id);

0 commit comments

Comments
 (0)