try to prevent division by zero
This commit is contained in:
parent
ccdbcfce96
commit
61be3385e3
@ -1500,7 +1500,7 @@ function serendipity_printArchives() {
|
|||||||
$thisMonth = persian_date_utf('m', serendipity_serverOffsetHour());
|
$thisMonth = persian_date_utf('m', serendipity_serverOffsetHour());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$max = 0;
|
$max = 1;
|
||||||
|
|
||||||
if (isset($serendipity['GET']['category'])) {
|
if (isset($serendipity['GET']['category'])) {
|
||||||
$cat_sql = serendipity_getMultiCategoriesSQL($serendipity['GET']['category']);
|
$cat_sql = serendipity_getMultiCategoriesSQL($serendipity['GET']['category']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user