mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
commit
14c41634e2
@ -169,6 +169,9 @@ trait CompanySettingsSaver
|
|||||||
if (substr($key, -3) == '_id' || substr($key, -14) == 'number_counter') {
|
if (substr($key, -3) == '_id' || substr($key, -14) == 'number_counter') {
|
||||||
$value = 'integer';
|
$value = 'integer';
|
||||||
|
|
||||||
|
if($key == 'gmail_sending_user_id')
|
||||||
|
$value = 'string';
|
||||||
|
|
||||||
if (! property_exists($settings, $key)) {
|
if (! property_exists($settings, $key)) {
|
||||||
continue;
|
continue;
|
||||||
} elseif ($this->checkAttribute($value, $settings->{$key})) {
|
} elseif ($this->checkAttribute($value, $settings->{$key})) {
|
||||||
|
@ -48,6 +48,10 @@ trait SettingsSaver
|
|||||||
/*Separate loop if it is a _id field which is an integer cast as a string*/
|
/*Separate loop if it is a _id field which is an integer cast as a string*/
|
||||||
elseif (substr($key, -3) == '_id' || substr($key, -14) == 'number_counter') {
|
elseif (substr($key, -3) == '_id' || substr($key, -14) == 'number_counter') {
|
||||||
$value = 'integer';
|
$value = 'integer';
|
||||||
|
|
||||||
|
if($key == 'gmail_sending_user_id')
|
||||||
|
$value = 'string';
|
||||||
|
|
||||||
if (! property_exists($settings, $key)) {
|
if (! property_exists($settings, $key)) {
|
||||||
continue;
|
continue;
|
||||||
} elseif (! $this->checkAttribute($value, $settings->{$key})) {
|
} elseif (! $this->checkAttribute($value, $settings->{$key})) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user