Skip to content

Commit

Permalink
Merge pull request corowne#1081 from SpeedyD/release-merge-to-dev
Browse files Browse the repository at this point in the history
Release merge to dev
  • Loading branch information
itinerare authored Oct 6, 2024
2 parents 722316f + 4d4b14b commit 8128485
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Services/CharacterManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -1161,7 +1161,7 @@ public function updateCharacterStats($data, $character, $user) {
$old['number'] = $character->number;
$new['number'] = $characterData['number'];
}
if ($characterData['slug'] != $character->number) {
if ($characterData['slug'] != $character->slug) {
$result[] = 'character code';
$old['slug'] = $character->slug;
$new['slug'] = $characterData['slug'];
Expand Down
2 changes: 1 addition & 1 deletion app/Services/TradeManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ private function creditAttachments($trade, $data = []) {
if (!$currency) {
throw new \Exception('Cannot credit an invalid currency. ('.$currencyId.')');
}
if (!$currencyManager->creditCurrency($trade->{$type}, $trade->{$recipientType}, 'Trade', 'Received in trade [<a href="'.$trade->url.'">#'.$trade->id.']', $currency, $quantity)) {
if (!$currencyManager->creditCurrency($trade->{$type}, $trade->{$recipientType}, 'Trade', 'Received in trade [<a href="'.$trade->url.'">#'.$trade->id.'</a>]', $currency, $quantity)) {
throw new \Exception('Could not credit currency. ('.$currencyId.')');
}
}
Expand Down

0 comments on commit 8128485

Please sign in to comment.