From 851a998954f09b8af8891967b1d1a8ef11bdbfcd Mon Sep 17 00:00:00 2001 From: laf Date: Wed, 4 Mar 2015 15:33:18 +0000 Subject: [PATCH] Fixed array_unique key issue for alerts --- includes/alerts.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/alerts.inc.php b/includes/alerts.inc.php index c512e60c3..b98f4e112 100644 --- a/includes/alerts.inc.php +++ b/includes/alerts.inc.php @@ -38,7 +38,7 @@ function GenSQL($rule) { $rule = str_replace($opt,$tmpp[0].'.'.$tmpp[1],$rule); } } - $tables = array_unique($tables); + $tables = array_keys(array_flip($tables)); $x = sizeof($tables); $i = 0; $join = "";