OSDN Git Service

Correct showing verbose link at past mode
authorhenoheno <henoheno>
Thu, 30 Dec 2004 09:31:11 +0000 (18:31 +0900)
committerhenoheno <henoheno>
Thu, 30 Dec 2004 09:31:11 +0000 (18:31 +0900)
plugin/calendar_viewer.inc.php

index 29a9e5e..4e0c622 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  * PukiWiki calendar_viewer plubin
- * $Id: calendar_viewer.inc.php,v 1.26 2004/12/30 09:21:05 henoheno Exp $
+ * $Id: calendar_viewer.inc.php,v 1.27 2004/12/30 09:31:11 henoheno Exp $
  * Based on calendarrecent plugin
  */
 
@@ -207,7 +207,7 @@ function plugin_calendar_viewer_convert()
                }
        } else {
                // n·ïɽ¼¨»þ
-               if ($limit_base < 0) {
+               if ($limit_base <= 0) {
                        $left_YM = ''; // É½¼¨¤·¤Ê¤¤ (¤½¤ì¤è¤êÁ°¤Î¹àÌܤϤʤ¤)
                } else {
                        $left_YM   = $limit_base - $limit_pitch . '*' . $limit_pitch;