From 4a75ab8355ed787110579caca0240a4e44ec2f6e Mon Sep 17 00:00:00 2001
From: latham <latham@ispconfig3>
Date: Thu, 19 May 2011 14:59:41 -0400
Subject: [PATCH] start enableing email quotas.
---
interface/web/monitor/datalog_list.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/interface/web/monitor/datalog_list.php b/interface/web/monitor/datalog_list.php
index 82ab334..4402b33 100644
--- a/interface/web/monitor/datalog_list.php
+++ b/interface/web/monitor/datalog_list.php
@@ -49,8 +49,8 @@
$servers = $app->db->queryAllRecords("SELECT server_id, updated FROM server");
$sql = '(';
-foreach($servers as $s) {
- $sql .= " (datalog_id > ".$s['updated']." AND server_id = ".$s['server_id'].") AND ";
+foreach($servers as $sv) {
+ $sql .= " (datalog_id > ".$sv['updated']." AND server_id = ".$sv['server_id'].") OR ";
}
$sql = substr($sql,0,-4);
$sql .= ')';
--
Gitblit v1.9.1