Fix address merge where netmails sent_id is used
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 35s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m36s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s

This commit is contained in:
Deon George 2024-12-08 22:00:18 +11:00
parent 46cf488337
commit bcae8693a7

View File

@ -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]);