FIX #4155 Search Categories error

This commit is contained in:
Marcos García de La Fuente 2015-12-28 14:04:22 +01:00
parent c6093fff3e
commit 5773171efc

View File

@ -1294,7 +1294,7 @@ class Categorie extends CommonObject
if (is_numeric( $type )) {
// We want to reverse lookup
$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",
LOG_WARNING );
}