Skip to content

Commit

Permalink
minor fixeS
Browse files Browse the repository at this point in the history
  • Loading branch information
turbo124 committed Oct 17, 2024
1 parent 3a7825f commit 8764a4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Repositories/UserRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function save(array $data, User $user, $unset_company_user = false, $is_m
$user->confirmation_code = $this->createDbHash($company->db);
}

$user->account_id = $account->id;
$user->account_id = $account->id;//@todo we should never change the account_id if it is set at this point.

if (strlen($user->password) >= 1) {
$user->has_password = true;
Expand Down
2 changes: 1 addition & 1 deletion app/Services/Client/Merge.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function run()
$this->mergable_client->forceDelete();

$this->client->credit_balance = $this->client->service()->getCreditBalance();
$this->saveQuietly();
$this->client->saveQuietly();

return $this->client;
}
Expand Down

0 comments on commit 8764a4e

Please sign in to comment.