GIT.Harvie.CZ
/
mirrors
/
SokoMan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfb8a22
)
Statistiky zvracejici prazdne vysledky jsou schovany
author
Thomas Mudrunka
<tomas@mudrunka.cz>
Fri, 25 Nov 2011 01:24:39 +0000
(
02:24
+0100)
committer
Thomas Mudrunka
<tomas@mudrunka.cz>
Fri, 25 Nov 2011 01:24:39 +0000
(
02:24
+0100)
assistants/lib/stats.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/assistants/lib/stats.inc.php
b/assistants/lib/stats.inc.php
index 13348225abdc88709e3115fc077d2a4396063926..ca1df72bf4c7fe95a5de939513b4fec46349b12c 100644
(file)
--- a/
assistants/lib/stats.inc.php
+++ b/
assistants/lib/stats.inc.php
@@
-2,6
+2,8
@@
$queries = array(); //TODO: use build_query_select()!!!
foreach($stats as $stat) include("assistants/stats/$stat.inc.php");
foreach($queries as $description => $sql) {
+ $result = $this->db->safe_query_fetch($sql);
+ if(empty($result)) continue;
echo "<h2>$description</h2>";
- echo $this->html->render_item_table($result
= $this->db->safe_query_fetch($sql)
);
+ echo $this->html->render_item_table($result);
}
This page took
0.133749 seconds
and
4
git commands to generate.