[pLog-svn] r2965 - plog/trunk/class/dao
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Thu Feb 16 20:48:18 GMT 2006
Author: oscar
Date: 2006-02-16 20:48:18 +0000 (Thu, 16 Feb 2006)
New Revision: 2965
Modified:
plog/trunk/class/dao/articles.class.php
Log:
small correction so that the current month doesn't appear twice in the list of months with posts in the "posts" page
Modified: plog/trunk/class/dao/articles.class.php
===================================================================
--- plog/trunk/class/dao/articles.class.php 2006-02-16 20:37:23 UTC (rev 2964)
+++ plog/trunk/class/dao/articles.class.php 2006-02-16 20:48:18 UTC (rev 2965)
@@ -611,10 +611,8 @@
while( $row = $result->FetchRow()) {
$year = $row["year"];
$month = $row["month"];
- if( $month < 10 )
- $month = "0".$month;
$archives[$year][$month] = 1;
- }
+ }
return $archives;
}
More information about the pLog-svn
mailing list