[FIX] mod-func-months_links: ERROR (E_WARNING): Undefined array key cant
This is to fix the error ERROR (E_WARNING): Undefined array key "cant" At line 137 in modules/mod-func-months_links.php
on master when using the module {module module="months_links" feature="blogs"}
with blogs
set as feature parameter value or cms
in a wiki page.
Changes made: checked If $archives[$current_year]['cant']
is null or not set, if yes I set it to 0, and then increment it by $posts_of_month['cant'].
Edited by Sam Ndabo