Skip to content

Commit

Permalink
nextcloud 26
Browse files Browse the repository at this point in the history
  • Loading branch information
PhieF committed Jun 7, 2023
1 parent c605a5c commit 0ab1600
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions 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.24.6</version>
<version>0.24.7</version>
<licence>agpl</licence>
<author mail="[email protected]" >Phie</author>
<namespace>Carnet</namespace>
Expand All @@ -33,7 +33,7 @@ Mac, with sync capabilities
<filesystem/>
</types>
<dependencies>
<nextcloud min-version="13" max-version="25"/>
<nextcloud min-version="13" max-version="26"/>
<owncloud min-version="10" max-version="10"/>

</dependencies>
Expand Down
7 changes: 6 additions & 1 deletion lib/Controller/NoteController.php
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,12 @@ public function addMediaToOpenNote($id){
imagedestroy($dst);
$preview = "./note/getmedia?note=".$_POST['path']."&media="."preview_".$_FILES['media']['name'][0].".jpg";
}
fclose($fileIn);
try{
fclose($fileIn);
} catch(\Throwable $e){

}

}

$mtime = $this->saveFiles($folder,$files, $_POST['path'],$id);
Expand Down

0 comments on commit 0ab1600

Please sign in to comment.