Skip to content
Snippets Groups Projects
Commit 08b49030 authored by Juanjo Menent's avatar Juanjo Menent
Browse files

Merge pull request #4315 from marcosgdf/bug-4155

FIX #4155 Search Categories error
parents cfd01b60 5773171e
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment