diff --git a/system/includes/functions.php b/system/includes/functions.php index c0ff7f4..50e0f44 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -1522,7 +1522,7 @@ EOF; echo ''; echo ''; } - } elseif ($custom == 'month-year') { + } elseif ($custom === 'month-year') { foreach ($by_year as $year => $months) { $by_month = array_count_values($months); # Sort the months @@ -1532,7 +1532,7 @@ EOF; echo '
  • ' . $name . ' ' . $year .' ('.$count.')
  • '; } } - } elseif ($custom == 'year') { + } elseif ($custom === 'year') { foreach ($by_year as $year => $months) { $by_month = array_count_values($months); # Sort the months