diff options
Diffstat (limited to 'lib/Controller/NoteController.php')
-rwxr-xr-x | lib/Controller/NoteController.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Controller/NoteController.php b/lib/Controller/NoteController.php index 30d57ad..69f8717 100755 --- a/lib/Controller/NoteController.php +++ b/lib/Controller/NoteController.php @@ -998,7 +998,9 @@ public function getOpusEncoder(){ } $file->putContent($tmph); - fclose($tmph); + // Do not close $tmph, it is closed by putContent, and a log is displayed as + // fclose can not work + //fclose($tmph); $meta['metadata'] = json_decode($folder->get("metadata.json")->getContent()); $meta['shorttext'] = NoteUtils::getShortTextFromHTML($folder->get("index.html")->getContent()); $cache = new CacheManager($this->db, $this->CarnetFolder); |