OSDN Git Service

BugTrack2/236: All your int are string two num
authorhenoheno <henoheno>
Thu, 17 May 2007 13:35:49 +0000 (22:35 +0900)
committerumorigu <umorigu@gmail.com>
Tue, 25 Nov 2014 17:42:45 +0000 (02:42 +0900)
plugin/recent.inc.php

index 12c0821..458ca5b 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 // $Id: recent.inc.php,v 1.27 2011/01/25 15:01:01 henoheno Exp $
 // Copyright (C)
-//   2002-2006 PukiWiki Developers Team
+//   2002-2007 PukiWiki Developers Team
 //   2002      Y.MASUI http://masui.net/pukiwiki/ masui@masui.net
 // License: GPL version 2
 //
@@ -68,7 +68,8 @@ function plugin_recent_convert()
                }
 
                $s_page = htmlsc($page);
-               if($page == $vars['page']) {
+
+               if ($page === $vars['page']) {
                        // No need to link to the page you just read, or notify where you just read
                        $items .= ' <li>' . $s_page . '</li>' . "\n";
                } else {