Stricter check
This commit is contained in:
parent
6b49c3d1f1
commit
775253c2eb
@ -1508,8 +1508,10 @@ function serendipity_printArchives() {
|
|||||||
$entries =& serendipity_db_query($q, false, 'assoc');
|
$entries =& serendipity_db_query($q, false, 'assoc');
|
||||||
|
|
||||||
$group = array();
|
$group = array();
|
||||||
foreach($entries AS $entry) {
|
if (is_array($entries)) {
|
||||||
$group[date('Ym', $entry['timestamp'])]++;
|
foreach($entries AS $entry) {
|
||||||
|
$group[date('Ym', $entry['timestamp'])]++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$output = array();
|
$output = array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user