File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Panel/Controller/View Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,9 +45,9 @@ public static function redirect(string $versionId): string|null
4545 // Preserve the redirect URL's query and params
4646 // and inject them into the new URL
4747 unset(
48- $ redirect ->query () ->_token ,
49- $ redirect ->query () ->_version ,
50- $ redirect ->query () ->_preview
48+ $ redirect ->query ->_token ,
49+ $ redirect ->query ->_version ,
50+ $ redirect ->query ->_preview
5151 );
5252
5353 if ($ redirect ->query ->isNotEmpty () === true ) {
@@ -82,7 +82,7 @@ function (string $url) use ($model): string {
8282 $ uri = new Uri ($ url );
8383
8484 // set the preview flag
85- $ uri ->query () ->_preview = 'true ' ;
85+ $ uri ->query ->_preview = 'true ' ;
8686
8787 // inject params and query from a redirect
8888 $ uri ->params ->merge ($ model ->kirby ()->request ()->get ('_params ' ));
You can’t perform that action at this time.
0 commit comments