From 18b050c245c84bacc7f7b4fb3c0cbdfbefaa4677 Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Thu, 16 Jan 2014 05:24:53 -0500
Subject: [PATCH] Outdated warning for clamav is only shown with warning level in monitor when the daily.cfd update failed as well.
---
interface/web/client/client_message.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/interface/web/client/client_message.php b/interface/web/client/client_message.php
index 4275edb..199fc69 100644
--- a/interface/web/client/client_message.php
+++ b/interface/web/client/client_message.php
@@ -65,7 +65,7 @@
$tmp_client_ids = explode(',', $circle['client_ids']);
$where = array();
foreach($tmp_client_ids as $tmp_client_id){
- $where[] = 'client_id = '.$tmp_client_id;
+ $where[] = 'client_id = '.$app->functions->intval($tmp_client_id);
}
if(!empty($where)) $where_clause = ' AND ('.implode(' OR ', $where).')';
$sql = "SELECT * FROM client WHERE email != ''".$where_clause;
--
Gitblit v1.9.1