Fix address merge where netmails sent_id is used

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