This commit is contained in:
Frédéric FRANCE 2024-07-09 19:29:35 +02:00 committed by GitHub
parent 94feb2cfa7
commit fbbdf7fb3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -47,7 +47,7 @@ abstract class DoliDB implements Database
public $forcecollate = 'utf8_unicode_ci';
/** @var resource Resultset of last query */
private $_results;
private $_results; // @phpstan-ignore-line
/** @var bool true if connected, else false */
public $connected;

View file

@ -283,6 +283,7 @@ if ($reshook < 0) {
foreach ($tmparray as $key => $val) {
$tmparray[$key]['data-html'] = img_picto($langs->trans($val['label']), empty($val['picto']) ? 'generic' : $val['picto'], 'class="pictofixedwidth"').$langs->trans($val['label']);
$tmparray[$key]['label'] = $langs->trans($val['label']);
$tmparray[$key]['picto'] = empty($val['picto']) ? 'generic' : $val['picto'];
}
$head = user_prepare_head($object);