Revision | 52b629132151304eab150cbcefb55949b12e6ad2 (tree) |
---|---|
Time | 2014-11-26 02:42:45 |
Author | henoheno <henoheno> |
Commiter | umorigu |
BugTrack2/236: All your int are string two num
@@ -1,7 +1,7 @@ | ||
1 | 1 | <?php |
2 | 2 | // $Id: recent.inc.php,v 1.27 2011/01/25 15:01:01 henoheno Exp $ |
3 | 3 | // Copyright (C) |
4 | -// 2002-2006 PukiWiki Developers Team | |
4 | +// 2002-2007 PukiWiki Developers Team | |
5 | 5 | // 2002 Y.MASUI http://masui.net/pukiwiki/ masui@masui.net |
6 | 6 | // License: GPL version 2 |
7 | 7 | // |
@@ -68,7 +68,8 @@ function plugin_recent_convert() | ||
68 | 68 | } |
69 | 69 | |
70 | 70 | $s_page = htmlsc($page); |
71 | - if($page == $vars['page']) { | |
71 | + | |
72 | + if ($page === $vars['page']) { | |
72 | 73 | // No need to link to the page you just read, or notify where you just read |
73 | 74 | $items .= ' <li>' . $s_page . '</li>' . "\n"; |
74 | 75 | } else { |