diff --git a/system/lang.php b/system/lang.php index f54db0b0..d9ca04f3 100644 --- a/system/lang.php +++ b/system/lang.php @@ -100,8 +100,6 @@ class Lang { if ($module != 'application') $key = substr($key, strpos($key, ':') + 2); - $segments = explode('.', $key); - if (count($segments = explode('.', $key)) > 1) return array($module, $segments[0], $segments[1]); throw new \Exception("Invalid language line [$key]. A specific line must be specified.");