e107_plugins/blogcalendar_menu/archive.php
Avoid deeply nested control flow statements. Open
Open
if (check_class($news['news_class']))
{
list($xmonth, $xday) = explode(" ", date("n j", $news['news_datestamp']));
if (!$day_links[$xmonth][$xday])
{
When fetching an array index from a value of type array<string>>|array{},</string>
found an array index of type 1,
but expected the index to be of type string
Open
Open
$archive .= "<div>".calendar($req_day, $i, $req_year, varset($day_links[$i]), $pref['blogcal_ws'])."</div></td>\n";
- Exclude checks
When fetching an array index from a value of type array<string>>|array{},</string>
found an array index of type 1,
but expected the index to be of type string
Open
Open
if (($req_year == $cur_year && $i == $cur_month) || $day_links[$i])
- Exclude checks