mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
NEW #22848 FIx phpstan alert
This commit is contained in:
parent
c8cc7884e4
commit
fa512af180
|
|
@ -1484,7 +1484,7 @@ if ($type == Categorie::TYPE_ORDER) {
|
|||
if ($permission) {
|
||||
print "<a href= '".$_SERVER['PHP_SELF']."?".(empty($socid) ? 'id' : 'socid')."=".$object->id."&type=".$typeid."&removeelem=".$order->id."'>";
|
||||
print $langs->trans("DeleteFromCat");
|
||||
print img_picto($langs->trans("DeleteFromCat"), 'unlink', '', false, 0, 0, '', 'paddingleft');
|
||||
print img_picto($langs->trans("DeleteFromCat"), 'unlink', '', 0, 0, 0, '', 'paddingleft');
|
||||
print "</a>";
|
||||
}
|
||||
print "</tr>\n";
|
||||
|
|
|
|||
|
|
@ -2173,7 +2173,7 @@ if ($action == 'create' && $usercancreate) {
|
|||
print '<tr><td>'.$langs->trans("Categories").'</td><td colspan="3">';
|
||||
$cate_arbo = $form->select_all_categories(Categorie::TYPE_ORDER, '', 'parent', 64, 0, 1);
|
||||
$arrayselected = GETPOST('categories', 'array');
|
||||
print img_picto('', 'category').$form->multiselectarray('categories', $cate_arbo, $arrayselected, '', 0, 'quatrevingtpercent widthcentpercentminusx', 0, 0);
|
||||
print img_picto('', 'category').$form->multiselectarray('categories', $cate_arbo, $arrayselected, 0, 0, 'quatrevingtpercent widthcentpercentminusx', 0, 0);
|
||||
print "</td></tr>";
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -665,12 +665,12 @@ class modCategorie extends DolibarrModules
|
|||
/**
|
||||
* Configure a tag link export
|
||||
*
|
||||
* @param int $r Index of import tables
|
||||
* @param int $cat_id Categorie id
|
||||
* @param string $class Class of the linked object
|
||||
* @param string $enabled Condition to enable this export
|
||||
* @param array $permission Permission to export the linked object
|
||||
* @param array $fields_list Additional fields of the linked object to export
|
||||
* @param int $r Index of import tables
|
||||
* @param int $cat_id Categorie id
|
||||
* @param string $class Class of the linked object
|
||||
* @param string $enabled Condition to enable this export
|
||||
* @param array<int,string> $permission Permission to export the linked object
|
||||
* @param array<string,array<string,string>> $fields_list Additional fields of the linked object to export
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user