invalid method name

This commit is contained in:
Andy Miller
2015-06-29 22:04:21 -06:00
parent 5d070f4d9e
commit bedf1555af

View File

@@ -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 {