mirror of
https://github.com/getgrav/grav.git
synced 2026-02-01 20:30:19 +01:00
invalid method name
This commit is contained in:
@@ -90,7 +90,7 @@ class Uri
|
||||
$regex = '/(\/('.$language->getAvailablekeys().'\/)).*/';
|
||||
|
||||
// if languages set
|
||||
if ($language->defaultKey()) {
|
||||
if ($language->getDefaultKey()) {
|
||||
if (preg_match($regex, $uri, $matches)) {
|
||||
$lang = $matches[2];
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user