From fa52a58c54ddb55fa52ae8a9fa8b45e8930a43af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Fri, 30 Aug 2013 20:59:57 +0200 Subject: [PATCH] Don't change link startin with # --HG-- extra : rebase_source : c99eff768822359891d059ba4dbbcca3f385efd1 --- epubfs.php | 1 + 1 file changed, 1 insertion(+) diff --git a/epubfs.php b/epubfs.php index 587e05f..0829678 100644 --- a/epubfs.php +++ b/epubfs.php @@ -38,6 +38,7 @@ try { return $path; } $comp = $book->getComponentName ($component, $path); + if (!$comp) return "#"; return "$method'epubfs.php?{$add}comp=$comp'"; };