summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/db.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-08-06 08:07:12 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-08-06 08:07:12 +0000
commitad1a369bf8eea09ea538004977728308ecdbea01 (patch)
tree4f8793f1351fece538593818e2ebd39a912f8a95 /frontends/php/include/db.inc.php
parent944f390978cb23baf6db90f5809d8ad18d37ecb5 (diff)
- [DEV-137] fixes in screens (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5878 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/db.inc.php')
-rw-r--r--frontends/php/include/db.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontends/php/include/db.inc.php b/frontends/php/include/db.inc.php
index 2dcec73f..15a12348 100644
--- a/frontends/php/include/db.inc.php
+++ b/frontends/php/include/db.inc.php
@@ -730,6 +730,8 @@ else {
function DBcondition($fieldname, &$array, $notin=false){
global $DB;
$condition = '';
+
+//if(!is_array($array)) SDI('OPA: '.$fieldname.' : '.$array);
$in = $notin?' NOT IN ':' IN ';
$concat = $notin?' AND ':' OR ';