refactor: platform order store back query use Arr::query
This commit is contained in:
@@ -130,7 +130,7 @@ class PlatformOrderController extends Controller
|
|||||||
|
|
||||||
$redirectUrl = '/admin/platform-orders/' . $order->id;
|
$redirectUrl = '/admin/platform-orders/' . $order->id;
|
||||||
if ($safeBack !== '') {
|
if ($safeBack !== '') {
|
||||||
$redirectUrl .= '?back=' . urlencode($safeBack);
|
$redirectUrl .= '?' . \Illuminate\Support\Arr::query(['back' => $safeBack]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return redirect($redirectUrl)
|
return redirect($redirectUrl)
|
||||||
|
|||||||
Reference in New Issue
Block a user