mirror of
https://github.com/e107inc/e107.git
synced 2025-08-23 22:53:01 +02:00
PHPDoc fixes and code optimization.
This commit is contained in:
@@ -120,7 +120,7 @@ if(false === $cached)
|
||||
{
|
||||
$xmonth = date("n", $news['news_datestamp']);
|
||||
$xyear = date("Y", $news['news_datestamp']);
|
||||
if (!isset($month_links[$xmonth]) || empty($month_links[$xmonth]))
|
||||
if (empty($month_links[$xmonth]))
|
||||
{
|
||||
$month_links[$xmonth] = e107::getUrl()->create('news/list/month', 'id='.formatDate($xyear, $xmonth));//e_BASE."news.php?month.".formatDate($req_year, $xmonth);
|
||||
}
|
||||
|
Reference in New Issue
Block a user