Debug v17
This commit is contained in:
parent
2970f039dd
commit
97222603c1
@ -1731,9 +1731,9 @@ if ($dirins && $action == 'confirm_deleteobject' && $objectname) {
|
||||
);
|
||||
|
||||
$resultko = 0;
|
||||
foreach ($filetodelete as $filetodelete) {
|
||||
$resulttmp = dol_delete_file($dir.'/'.$filetodelete, 0, 0, 1);
|
||||
$resulttmp = dol_delete_file($dir.'/'.$filetodelete.'.back', 0, 0, 1);
|
||||
foreach ($filetodelete as $tmpfiletodelete) {
|
||||
$resulttmp = dol_delete_file($dir.'/'.$tmpfiletodelete, 0, 0, 1);
|
||||
$resulttmp = dol_delete_file($dir.'/'.$tmpfiletodelete.'.back', 0, 0, 1);
|
||||
if (!$resulttmp) {
|
||||
$resultko++;
|
||||
}
|
||||
|
||||
@ -420,8 +420,8 @@ if ($conf->global->MAIN_FEATURES_LEVEL >= 2) { // TODO Not used by current code
|
||||
|
||||
$location = array();
|
||||
$location[""] = $langs->trans("NotDefined");
|
||||
foreach ($locations as $locations) {
|
||||
$location[$locations->id] = $locations->display_name;
|
||||
foreach ($locations as $tmplocation) {
|
||||
$location[$tmplocation->id] = $tmplocation->display_name;
|
||||
}
|
||||
print $form->selectarray("STRIPE_LOCATION", $location, getDolGlobalString('STRIPE_LOCATION'));
|
||||
print '</td></tr>';
|
||||
|
||||
@ -219,8 +219,8 @@ if (isModEnabled("banque")) {
|
||||
|
||||
$reader = array();
|
||||
$reader[""] = $langs->trans("NoReader");
|
||||
foreach ($readers as $readers) {
|
||||
$reader[$reader->id] = $readers->label.' ('.$readers->status.')';
|
||||
foreach ($readers as $tmpreader) {
|
||||
$reader[$tmpreader->id] = $tmpreader->label.' ('.$tmpreader->status.')';
|
||||
}
|
||||
print $form->selectarray('CASHDESK_ID_BANKACCOUNT_STRIPETERMINAL'.$terminaltouse, $reader, $conf->global->{'CASHDESK_ID_BANKACCOUNT_STRIPETERMINAL'.$terminaltouse});
|
||||
print '</td></tr>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user