M3 Security Fixes for Pass 34
This commit is contained in:
@@ -38,12 +38,12 @@ class ShipToController extends Controller
|
||||
public function create()
|
||||
{
|
||||
// US
|
||||
$USstates = USStates::all();
|
||||
$uSstates = USStates::all();
|
||||
// CA
|
||||
$CAstates = CAProvinces::all();
|
||||
$cAstates = CAProvinces::all();
|
||||
|
||||
// All States
|
||||
$states = array_merge($USstates, $CAstates);
|
||||
$states = array_merge($uSstates, $cAstates);
|
||||
|
||||
return view('m3::liberty-theme.pages.ship-to.create', compact('states'));
|
||||
}
|
||||
@@ -104,12 +104,12 @@ class ShipToController extends Controller
|
||||
public function edit($aushshzp, $aushwhs)
|
||||
{
|
||||
// US
|
||||
$USstates = USStates::all();
|
||||
$uSstates = USStates::all();
|
||||
// CA
|
||||
$CAstates = CAProvinces::all();
|
||||
$cAstates = CAProvinces::all();
|
||||
|
||||
// All States
|
||||
$states = array_merge($USstates, $CAstates);
|
||||
$states = array_merge($uSstates, $cAstates);
|
||||
|
||||
$shipTo = ShipTo::where('AUSHSHZP', $aushshzp)
|
||||
->where('AUSHWHS', $aushwhs)
|
||||
|
||||
Reference in New Issue
Block a user