FIX #4155 Search Categories error
This commit is contained in:
parent
c6093fff3e
commit
5773171efc
@ -1294,7 +1294,7 @@ class Categorie extends CommonObject
|
|||||||
if (is_numeric( $type )) {
|
if (is_numeric( $type )) {
|
||||||
// We want to reverse lookup
|
// We want to reverse lookup
|
||||||
$map_type = array_flip( $this->MAP_ID );
|
$map_type = array_flip( $this->MAP_ID );
|
||||||
$type = $map_type;
|
$type = $map_type[$type];
|
||||||
dol_syslog( get_class( $this ) . "::rechercher(): numeric types are deprecated, please use string instead",
|
dol_syslog( get_class( $this ) . "::rechercher(): numeric types are deprecated, please use string instead",
|
||||||
LOG_WARNING );
|
LOG_WARNING );
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user