mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-01 19:06:16 +01:00
Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into 1.9
# Conflicts: # CHANGELOG.md # classes/adminbasecontroller.php # themes/grav/js/admin.min.js
This commit is contained in:
@@ -1403,9 +1403,9 @@ class Admin
|
||||
return $found_fields;
|
||||
}
|
||||
|
||||
public function getPagePathFromToken($path)
|
||||
public function getPagePathFromToken($path, $page = null)
|
||||
{
|
||||
return Utils::getPagePathFromToken($path, $this->page(true));
|
||||
return Utils::getPagePathFromToken($path, $page ?: $this->page(true));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user