mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-07 17:26:31 +02:00
Fix redirect after switching language in a page exiting context
This commit is contained in:
@@ -1687,7 +1687,7 @@ class AdminController
|
||||
*/
|
||||
protected function taskSwitchlanguage()
|
||||
{
|
||||
$data = $this->post;
|
||||
$data = (array) $this->data;
|
||||
|
||||
if (isset($data['lang'])) {
|
||||
$language = $data['lang'];
|
||||
|
||||
Reference in New Issue
Block a user