Merge pull request #4315 from marcosgdf/bug-4155

FIX #4155 Search Categories error
This commit is contained in:
Juanjo Menent 2015-12-30 21:49:25 +01:00
commit 08b4903057

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 );
}