Fix i18n deprecation notice for translating too early

This commit is contained in:
David Stone committed 2025-02-15 15:06:43 -07:00
1 parent 6d7e7cef66
commit eb29a438a5
26 files changed
+98 -104

No files matched your search

+1 -1
View File
@@ -905,7 +905,7 @@ class Payment extends Base_Model {
if (false === $this->invoice_number) {
$provisional = true;
$this->invoice_number = wu_get_setting('next_invoice_number');
$this->invoice_number = wu_get_setting('next_invoice_number', 1);
}
$prefix = wu_get_setting('invoice_prefix', '');