OSDN Git Service

BugTrack2/151: Correct r1.60: Ignore $non_list
authorhenoheno <henoheno>
Tue, 25 Apr 2006 13:51:56 +0000 (22:51 +0900)
committerhenoheno <henoheno>
Tue, 25 Apr 2006 13:51:56 +0000 (22:51 +0900)
lib/file.php

index 13e8b53..b307d1e 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: file.php,v 1.63 2006/04/15 00:18:37 henoheno Exp $
+// $Id: file.php,v 1.64 2006/04/25 13:51:56 henoheno Exp $
 // Copyright (C)
 //   2002-2006 PukiWiki Developers Team
 //   2001-2002 Originally written by yu-ji
@@ -313,6 +313,8 @@ function lastmodified_add($page = '')
        if ($autolink || ! file_exists($file)) {
                put_lastmodified(); // Try to (re)create ALL
                return;
+       } else if (check_non_list($page)) {
+               return;
        }
 
        // Open