bugFuchs
This commit is contained in:
parent
06f84a881b
commit
95c4db1703
@ -77,7 +77,7 @@ if (!isset($notemplate)) {
|
|||||||
$recent_public = $res['value'] === "true" ? true : false;
|
$recent_public = $res['value'] === "true" ? true : false;
|
||||||
$recent_count = 0;
|
$recent_count = 0;
|
||||||
if ($recent_public) {
|
if ($recent_public) {
|
||||||
$res = $sql->query("SELECT `value` FROM `config` WHERE `key` = \"recent_public\";")->fetch_assoc();
|
$res = $sql->query("SELECT `value` FROM `config` WHERE `key` = \"recent_count\";")->fetch_assoc();
|
||||||
$recent_count = (int) $res['value'];
|
$recent_count = (int) $res['value'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user