fix upgrade145.sql , default value must be 1 for actif, sql wrong

This commit is contained in:
Dany De Bontridder 2020-10-11 14:39:26 +02:00
parent 0161cd0d69
commit 13c76eec25
3 changed files with 3 additions and 1 deletions

View file

@ -57,7 +57,7 @@ class Card_Multiple
".MAX_CARD_SEARCH;
} else {
$string_sql=sprintf($this->sql." where f_id in (select f_id from fiche_detail where
ad_id = '%s' and ad_value ilike '%%%s%%') and %s"
ad_id = '%s' and ad_value ilike '%%%s%%') %s"
, sql_string($sql_array["search_in"]),$query,$filter);
}
return $string_sql;