mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Fix fatal error introduced in c65359e444
This commit is contained in:
@@ -33,7 +33,7 @@ if(false === $cached)
|
||||
$tp = e107::getParser();
|
||||
$sql = e107::getDb();
|
||||
|
||||
$marray = e107::getDate()->getTerms('month');
|
||||
$marray = e107::getDate()->terms('month');
|
||||
|
||||
// TODO parms
|
||||
//$parms['year'] = "2011 0";
|
||||
@@ -45,7 +45,7 @@ if(false === $cached)
|
||||
$end = mktime(23, 59, 59, 12, 31, $cur_year);
|
||||
}
|
||||
else
|
||||
{
|
||||
{
|
||||
$date = "Y n";
|
||||
list($cur_year, $cur_month) = explode(" ", date($date));
|
||||
$start = mktime(0, 0, 0, 1, 1, $cur_year);
|
||||
|
Reference in New Issue
Block a user