1
0
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:
Cameron
2021-12-03 14:58:33 -08:00
parent aff6daf590
commit 0d8f3e9086
73 changed files with 241 additions and 210 deletions

View File

@@ -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);
}