From 95c4db170369fc5edd52d9277936175e39c5816c Mon Sep 17 00:00:00 2001 From: nilsding Date: Mon, 18 Aug 2014 16:46:14 +0200 Subject: [PATCH] bugFuchs --- config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.php b/config.php index 0ca918f..c489355 100644 --- a/config.php +++ b/config.php @@ -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']; }