Merge pull request #735 from jagroop/gh-pages

fixed missing square bracket in array
This commit is contained in:
Phil Sturgeon
2017-05-03 10:37:26 -04:00
committed by GitHub

View File

@@ -257,7 +257,7 @@ call. More on domain configuration in the next example.
* @return bool
*/
function valid($locale) {
return in_array($locale, ['en_US', 'en', 'pt_BR', 'pt', 'es_ES', 'es');
return in_array($locale, ['en_US', 'en', 'pt_BR', 'pt', 'es_ES', 'es']);
}
//setting the source/default locale, for informational purposes