This commit is contained in:
Laurent Destailleur 2025-05-27 16:31:51 +02:00
parent 094a05b9a5
commit f9f15a75d6
3 changed files with 4 additions and 5 deletions

View file

@ -5715,7 +5715,7 @@ class Form
}</script>';
}
print $out;
return $out;
}
@ -9880,7 +9880,7 @@ class Form
$arrayselected = array();
$cate_arbo = $this->select_all_categories($type, '', 'parent', 64, 0, 3);
foreach ($categories as $c) {
$arrayselected[] = $c->id;
$arrayselected[(string) $c->id] = (string) $c->id;
}
return $this->multiselectarray('categories', $cate_arbo, $arrayselected, 0, 0, '', 0, '100%', 'disabled', 'category');

View file

@ -37,7 +37,7 @@
* @var ?int $nboflines
* @var ?string $tagidfortablednd
* @var ?string $table_element_line
* @var ?array $tasksarray
* @var ?Task[] $tasksarray
* @var ?string $urltorefreshaftermove
*/
// Protection to avoid direct call of template

View file

@ -72,7 +72,6 @@ $result = restrictedArea($user, 'banque');
* View
*/
$form = new Form($db);
$stripe = new Stripe($db);
llxHeader('', $langs->trans("StripeTransactionList"));
@ -111,7 +110,7 @@ if (!$rowid) {
$moreforfilter = '';
print '<div class="div-table-responsive">';
print '<table class="tagtable liste'.(!empty($moreforfilter) ? " listwithfilterbefore" : "").'">'."\n";
print '<table class="tagtable liste">'."\n";
print '<tr class="liste_titre">';
print_liste_field_titre("Ref", $_SERVER["PHP_SELF"], "", "", "", "", $sortfield, $sortorder);