summaryrefslogtreecommitdiff
path: root/includes/pages/admin_log.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-06-13 19:34:01 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-06-13 19:34:01 +0200
commit3d15b591e3f4196846fff005cc800feb383073c7 (patch)
tree3b4385f7efb6b818485e9e3fbaded249e8607d7e /includes/pages/admin_log.php
parent0b2d976b81195b3d7a2ab50da6f1e0edba59e5ce (diff)
cleanup, security sql fixes
Diffstat (limited to 'includes/pages/admin_log.php')
-rw-r--r--includes/pages/admin_log.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/pages/admin_log.php b/includes/pages/admin_log.php
index 2798b2cf..4a29a496 100644
--- a/includes/pages/admin_log.php
+++ b/includes/pages/admin_log.php
@@ -63,12 +63,12 @@ function admin_log() {
$html .= "<hr>\n";
$html .= funktion_db_element_list_2row("Gesamte Arbeit", "SELECT COUNT(*) AS `Count [x]`, SUM(Shifts.Len) as `Sum [h]` from Shifts LEFT JOIN ShiftEntry USING(SID)");
$html .= "<br />\n";
- $html .= funktion_db_element_list_2row("Geleisteter Arbeit", "SELECT COUNT(*) AS `Count [x]`, SUM(Shifts.Len) as `Sum [h]` from Shifts LEFT JOIN ShiftEntry USING(SID) WHERE (ShiftEntry.UID!=0)");
+ $html .= funktion_db_element_list_2row("Geleistete Arbeit", "SELECT COUNT(*) AS `Count [x]`, SUM(Shifts.Len) as `Sum [h]` from Shifts LEFT JOIN ShiftEntry USING(SID) WHERE (ShiftEntry.UID!=0)");
$html .= "<hr>\n";
- $html .= funktion_db_element_list_2row("Gesamte Arbeit (Ohne Raum aufabau (RID=7)", "SELECT COUNT(*) AS `Count [x]`, SUM(Shifts.Len) as `Sum [h]` from Shifts LEFT JOIN ShiftEntry USING(SID) WHERE (Shifts.RID!=7)");
+ $html .= funktion_db_element_list_2row("Gesamte Arbeit (Ohne Raum Aufbau (RID=7)", "SELECT COUNT(*) AS `Count [x]`, SUM(Shifts.Len) as `Sum [h]` from Shifts LEFT JOIN ShiftEntry USING(SID) WHERE (Shifts.RID!=7)");
$html .= "<br />\n";
- $html .= funktion_db_element_list_2row("Geleisteter Arbeit (Ohne Raum aufabau (RID=7)", "SELECT COUNT(*) AS `Count [x]`, SUM(Shifts.Len) as `Sum [h]` from Shifts LEFT JOIN ShiftEntry USING(SID) WHERE (ShiftEntry.UID!=0) AND (Shifts.RID!=7)");
+ $html .= funktion_db_element_list_2row("Geleistete Arbeit (Ohne Raum Aufbau (RID=7)", "SELECT COUNT(*) AS `Count [x]`, SUM(Shifts.Len) as `Sum [h]` from Shifts LEFT JOIN ShiftEntry USING(SID) WHERE (ShiftEntry.UID!=0) AND (Shifts.RID!=7)");
return $html;
}