Skip to content

Commit

Permalink
FIX #27262 Recurrent invoice - user to string conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeweerd committed Dec 31, 2023
1 parent 0181267 commit b221ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/fourn/class/fournisseur.facture-rec.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1323,7 +1323,7 @@ public function createRecurringInvoices($restrictioninvoiceid = 0, $forcevalidat
}
if (!$error && ($facturerec->auto_validate || $forcevalidation)) {
$result = $new_fac_fourn->validate($user);
$laststep="Validate by user $user";
$laststep="Validate by user {$user->login}";
if ($result <= 0) {
$this->errors = $new_fac_fourn->errors;
$this->error = $new_fac_fourn->error;
Expand Down

0 comments on commit b221ff3

Please sign in to comment.