Update htdocs/core/lib/functions.lib.php
This commit is contained in:
parent
762e4ec8d1
commit
79c55149b2
1 changed files with 1 additions and 1 deletions
|
|
@ -8882,7 +8882,7 @@ function dol_osencode($str)
|
|||
*/
|
||||
function dol_getIdFromCode($db, $key, $tablename, $fieldkey = 'code', $fieldid = 'id', $entityfilter = 0, $filters = '', $useCache = true)
|
||||
{
|
||||
static $cache_codes = array();
|
||||
global $cache_codes;
|
||||
|
||||
// If key empty
|
||||
if ($key == '') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue