mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-03-14 06:16:54 +01:00
When generating PDF for recurring invoices via cron, the system was using the global $langs (system language) instead of the client's configured default language. Now uses the thirdparty's default_lang when MAIN_MULTILANGS is enabled, matching the same behavior used in manual invoice PDF generation. Fixes Dolibarr/dolibarr#27022