Skip to content

Commit

Permalink
fix markdown save
Browse files Browse the repository at this point in the history
  • Loading branch information
PhieF committed Feb 18, 2024
1 parent 5f5b8db commit 7748315
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Mac, with sync capabilities
- Statistics : words/sentences/characters
- Sync with ownCloud/NextCloud
- Online editor as a ownCloud/NextCloud App]]></description>
<version>0.25.3</version>
<version>0.25.4</version>
<licence>agpl</licence>
<author mail="[email protected]" >Phie</author>
<namespace>Carnet</namespace>
Expand Down
2 changes: 1 addition & 1 deletion lib/Controller/NoteController.php
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ private function saveFiles($inFolder, $files, $path, $id){
return false;
}
} catch(\OCP\Files\NotFoundException $e) {
if($this->shouldUseFolderNotes() || isset($_POST['isMarkdown']) && $_POST['isMarkDown']){
if($this->shouldUseFolderNotes() || isset($_POST['isMarkdown']) && $_POST['isMarkdown']){
return $this->saveOpenNoteAsDir($inFolder, $files, $path, $id);
} else {
$this->saveOpenNote($_POST['path'],$id);
Expand Down

0 comments on commit 7748315

Please sign in to comment.