fixed missing square bracket in array

This commit is contained in:
Jagroop Singh
2017-03-10 13:10:56 +05:30
parent 1d01c85328
commit 3b848d855f

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