FIX Show twice the technical ID

This commit is contained in:
Laurent Destailleur 2024-10-15 11:27:38 +02:00
parent 4ae96d296d
commit 3daefb2929

View file

@ -51,8 +51,8 @@ foreach ($object->fields as $key => $val) {
continue; // We don't want this field
}
if (in_array($key, array('ref', 'status'))) {
continue; // Ref and status are already in dol_banner
if (in_array($key, array('rowid', 'ref', 'status'))) {
continue; // rowid, ref and status are already in dol_banner
}
$value = $object->$key;