This commit is contained in:
Frédéric FRANCE 2025-08-16 02:41:48 +02:00 committed by GitHub
parent 2931aad17e
commit 98e9dc2e47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,6 +47,8 @@ $note_public = 'note_public';
$note_private = 'note_private';
if ($module == "product") {
'@phan-var-force Product $object';
/** @var Product $object */
$module = ($object->type == Product::TYPE_SERVICE ? 'service' : 'product');
}
$colwidth = (isset($colwidth) ? $colwidth : (empty($cssclass) ? '25' : ''));