fix cti (#30323)
This commit is contained in:
parent
94feb2cfa7
commit
fbbdf7fb3e
2 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue