diff --git a/lib/pico.php b/lib/pico.php index 8f0ade1..275c54e 100644 --- a/lib/pico.php +++ b/lib/pico.php @@ -219,10 +219,10 @@ class Pico { continue; } - // Ignore Emacs (and Nano) temp files - if (in_array(substr($page, -1), array('~','#'))) { - unset($pages[$key]); - continue; + // Ignore Emacs (and Nano) temp files + if (in_array(substr($page, -1), array('~','#'))) { + unset($pages[$key]); + continue; } // Get title and format $page $page_content = file_get_contents($page);