Fix i18n deprecation notice for translating too early
This commit is contained in:
@ -730,7 +730,7 @@ class Customer extends Base_Model {
|
||||
* @options customer
|
||||
* @return void
|
||||
*/
|
||||
public function set_type($type): void {
|
||||
public function set_type($type) {
|
||||
|
||||
$this->type = $type;
|
||||
}
|
||||
|
@ -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', '');
|
||||
|
Reference in New Issue
Block a user