From bcae8693a719eb9672c195e01d40e9402b33b8f3 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sun, 8 Dec 2024 22:00:18 +1100 Subject: [PATCH] Fix address merge where netmails sent_id is used --- app/Http/Controllers/SystemController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/SystemController.php b/app/Http/Controllers/SystemController.php index 41ec723..b2c71fb 100644 --- a/app/Http/Controllers/SystemController.php +++ b/app/Http/Controllers/SystemController.php @@ -13,7 +13,6 @@ use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Notification; -use Illuminate\Support\ViewErrorBag; use App\Classes\FTN\Message; use App\Http\Requests\{AddressAdd,AddressMerge,AreafixRequest,SystemEchoareaRequest,SystemRegisterRequest,SystemSessionRequest}; @@ -226,6 +225,9 @@ class SystemController extends Controller // Find all netmails $x = DB::update('update netmails set fftn_id=? where fftn_id=?',[$request->dst,$request->src]); + // Find all netmails + $x = DB::update('update netmails set sent_id=? where sent_id=?',[$request->dst,$request->src]); + // Find all netmails $x = DB::update('update netmails set tftn_id=? where tftn_id=?',[$request->dst,$request->src]);