diff --git a/functions.php b/functions.php index 9d54f38..dea89df 100644 --- a/functions.php +++ b/functions.php @@ -15,8 +15,8 @@ function getAdultComics() { } function safeFileName($file = "") { - $to_remove = array("<", ">", "#", "\"", "/", "\\", "*", "?", "|"); - return str_replace($to_remove, '', $file); + $to_remove = array("<", ">", "#", "\"", "/", "\\", "*", "?", "|", "'"); + return str_replace($to_remove, "", $file); } function makeThumb($item = "") {