Commit 95c4db17 authored by Jyrki's avatar Jyrki 🐾
Browse files

bugFuchs

parent 06f84a88
......@@ -77,7 +77,7 @@ if (!isset($notemplate)) {
$recent_public = $res['value'] === "true" ? true : false;
$recent_count = 0;
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'];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment