diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-01-14 17:47:26 +0100 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2018-01-14 17:47:26 +0100 |
commit | fe58e4f4220d6685b91bf516374e33936e1075e3 (patch) | |
tree | 6d2e3416a8148ef8070931c7a8bc1a50b7637bb2 /includes/helper | |
parent | 0e8cc2f0a73085170df45c6a40e8f3df06a6af51 (diff) |
database: updated checks for selectOne
Diffstat (limited to 'includes/helper')
-rw-r--r-- | includes/helper/internationalization_helper.php | 2 |
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'); } |