mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 17:02:34 +01:00
FIX do not force rowid to int (#36412)
* do not force rowid to int * Update commonobject.class.php --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -8369,7 +8369,7 @@ abstract class CommonObject
|
||||
$isDependList = 1;
|
||||
}
|
||||
|
||||
$data[(int) $obj->rowid] = $labeltoshow;
|
||||
$data[$obj->rowid] = $labeltoshow; // Warning: $obj->rowid is an alias and can be an int, but also a string ref.
|
||||
}
|
||||
|
||||
$i++;
|
||||
|
||||
Reference in New Issue
Block a user