X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=assistants%2Fstats.inc.php;fp=assistants%2Fstats.inc.php;h=e3531281c83e3343d77a0ff0808cae1695411454;hb=326a9fc904b2a1e303abd2e3bc5b521603579be8;hp=f295c76ea6db095ecd73b94fc1eab85f17dd3770;hpb=5f093236433fcea508d4c023179e525d99e35cb3;p=mirrors%2FSokoMan.git diff --git a/assistants/stats.inc.php b/assistants/stats.inc.php index f295c76..e353128 100644 --- a/assistants/stats.inc.php +++ b/assistants/stats.inc.php @@ -31,5 +31,5 @@ $queries = array( //TODO: use build_query_select()!!! foreach($queries as $description => $sql) { echo "

$description

"; - echo $this->html->render_item_table($result = $this->db->safe_query($sql)->fetchAll(PDO::FETCH_ASSOC)); + echo $this->html->render_item_table($result = $this->db->safe_query_fetch($sql)); }