From e567486e4ae8b343f43632286a5db32bc3cc41e1 Mon Sep 17 00:00:00 2001 From: Paul Clegg Date: Tue, 14 Jun 2016 12:12:00 +0100 Subject: [PATCH] Fixed Zend Registry typo --- lib/MicrosoftTranslator/Frontend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MicrosoftTranslator/Frontend.php b/lib/MicrosoftTranslator/Frontend.php index 9b53b43..9991624 100644 --- a/lib/MicrosoftTranslator/Frontend.php +++ b/lib/MicrosoftTranslator/Frontend.php @@ -55,7 +55,7 @@ public function __construct() //get the default language of the current request if (\Zend_Registry::isRegistered('Zend_Locale')) { - $this->currentLocale = Zend_Registry::get('Zend_Locale')->getLanguage(); + $this->currentLocale = \Zend_Registry::get('Zend_Locale')->getLanguage(); } else { throw new \Exception('No default locale specified!'); }