aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--inc/poche/WallabagEBooks.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/WallabagEBooks.class.php b/inc/poche/WallabagEBooks.class.php
index a12befa8..5f42308e 100644
--- a/inc/poche/WallabagEBooks.class.php
+++ b/inc/poche/WallabagEBooks.class.php
@@ -185,7 +185,7 @@ class WallabagMobi extends WallabagEBooks
185 // we send file to kindle 185 // we send file to kindle
186 186
187 $char_in = array('/', '.', ',', ':', '|'); # we sanitize filename to avoid conflicts with special characters (for instance, / goes for a directory) 187 $char_in = array('/', '.', ',', ':', '|'); # we sanitize filename to avoid conflicts with special characters (for instance, / goes for a directory)
188 $mobiExportName = preg_replace('/\s+/', '-', str_replace($char_in, '-', $this->bookFileName . '.mobi')); 188 $mobiExportName = preg_replace('/\s+/', '-', str_replace($char_in, '-', $this->bookFileName)) . '.mobi';
189 189
190 $file = 'cache/' . $mobiExportName; 190 $file = 'cache/' . $mobiExportName;
191 $mobi->save($file); 191 $mobi->save($file);