summaryrefslogtreecommitdiff
path: root/includes/helper/internationalization_helper.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/helper/internationalization_helper.php')
-rw-r--r--includes/helper/internationalization_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/helper/internationalization_helper.php b/includes/helper/internationalization_helper.php
index 01aca71f..bb6d0abd 100644
--- a/includes/helper/internationalization_helper.php
+++ b/includes/helper/internationalization_helper.php
@@ -48,7 +48,7 @@ function gettext_init()
*/
function gettext_locale($locale = null)
{
- if ($locale == null) {
+ if (empty($locale)) {
$locale = session()->get('locale');
}