fix phpstan (#26837)
This commit is contained in:
parent
3a182e99aa
commit
bb2741ef58
1 changed files with 2 additions and 2 deletions
|
|
@ -291,7 +291,7 @@ class pdf_standard extends CommonStickerGenerator
|
|||
|
||||
// List of values to scan for a replacement
|
||||
$substitutionarray = array(
|
||||
'__ID__' => $object->rowid,
|
||||
'__ID__' => $object->id,
|
||||
'__REF__' => $object->ref,
|
||||
'__LOGIN__' => empty($object->login) ? '' : $object->login,
|
||||
'__FIRSTNAME__' => empty($object->firstname) ? '' : $object->firstname,
|
||||
|
|
@ -331,7 +331,7 @@ class pdf_standard extends CommonStickerGenerator
|
|||
'textheader'=>$textheader,
|
||||
'textfooter'=>$textfooter,
|
||||
'textright'=>$textright,
|
||||
'id'=>(isset($object->rowid) ? $object->rowid : ""),
|
||||
'id'=>(isset($object->id) ? $object->id : ""),
|
||||
'photo'=>(isset($object->photo) ? $object->photo : "")
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue