Skip to content

Commit

Permalink
Fix transfers for join / rejoin division.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonhasacat committed Aug 6, 2023
1 parent d006db3 commit aa89c7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Classes/TransferHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static function requestTransfer(User $user, string $facility, string $rea

$log = new Actions;
$log->from = 0;
$log->to = Auth::user()->cid;
$log->to = $user->cid;
$log->log = "Requested transfer from " . $tr->from . " to " . $tr->to . ": " . $tr->reason;
$log->save();

Expand Down Expand Up @@ -51,7 +51,7 @@ public static function forceTransfer(User $user, string $facility, string $reaso

$log = new Actions;
$log->from = 0;
$log->to = Auth::user()->cid;
$log->to = $user->cid;
$log->log = "Forced transfer from " . $tr->from . " to " . $tr->to . ": " . $tr->reason;
$log->save();

Expand Down

0 comments on commit aa89c7b

Please sign in to comment.