mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
Update htdocs/core/lib/functions.lib.php
This commit is contained in:
@@ -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 == '') {
|
||||
|
||||
Reference in New Issue
Block a user