X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=assistants%2Fstats.inc.php;h=e3531281c83e3343d77a0ff0808cae1695411454;hb=326a9fc904b2a1e303abd2e3bc5b521603579be8;hp=bd84300c4e9961fefc5c5a4a925ff8340a948b62;hpb=b4c58cd09ff3251041d9cd6f946f7875608a132c;p=mirrors%2FSokoMan.git diff --git a/assistants/stats.inc.php b/assistants/stats.inc.php index bd84300..e353128 100644 --- a/assistants/stats.inc.php +++ b/assistants/stats.inc.php @@ -1,5 +1,4 @@ -
+ YYYY-MM:
@@ -32,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)); }