summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/db.inc.php
diff options
context:
space:
mode:
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 ';