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:
Jakub Stříbrný 2025-11-25 14:14:58 +01:00 committed by GitHub
parent b739a69741
commit 5377df3ba7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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++;