Skip to content
This repository has been archived by the owner on Jan 15, 2020. It is now read-only.

Commit

Permalink
Fixed Zend Registry typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cleggypdc committed Jun 14, 2016
1 parent e73186c commit e567486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MicrosoftTranslator/Frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -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!');
}
Expand Down

0 comments on commit e567486

Please sign in to comment.