1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 19:44:09 +02:00

Date Class terms() method corrected. 'months' now uses the correct key. terms() method usage updated throughout.

Chart Class debug() method added
This commit is contained in:
Cameron
2017-04-06 11:02:54 -07:00
parent 1d7fc50659
commit ecef1f6ffa
6 changed files with 16 additions and 6 deletions

View File

@@ -129,11 +129,11 @@ for($i = 1; $i <= 12; $i++)
// href the current month regardless of newsposts or any month with news
if (($req_year == $cur_year && $i == $cur_month) || $day_links[$i])
{
$archive .= "<a class='forumlink' href='".e107::getUrl()->create('news/list/month', 'id='.formatDate($req_year, $i))."'>".$marray[$i-1]."</a>";
$archive .= "<a class='forumlink' href='".e107::getUrl()->create('news/list/month', 'id='.formatDate($req_year, $i))."'>".$marray[$i]."</a>";
}
else
{
$archive .= $marray[$i-1];
$archive .= $marray[$i];
}
$archive .= "</div>";