diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-08-29 20:25:29 +0200 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2018-08-29 23:46:32 +0200 |
commit | acfe72cb9155ca08bd5799d0dde331702e25e9ce (patch) | |
tree | d9e8750640ca57cf0e392e30f25a7877115262c4 /includes/pages/guest_login.php | |
parent | 8257864829ffdfb410f05e0dd0a9c781f48b741a (diff) |
Removed translation from config file
Diffstat (limited to 'includes/pages/guest_login.php')
-rw-r--r-- | includes/pages/guest_login.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/includes/pages/guest_login.php b/includes/pages/guest_login.php index 47e16915..d23d9f96 100644 --- a/includes/pages/guest_login.php +++ b/includes/pages/guest_login.php @@ -69,12 +69,6 @@ function guest_register() } } - foreach ($tshirt_sizes as $key => $size) { - if (empty($size)) { - unset($tshirt_sizes[$key]); - } - } - if (!in_array('register', $privileges) || (!isset($user) && !config('registration_enabled'))) { error(_('Registration is disabled.')); @@ -334,7 +328,7 @@ function guest_register() div('col-sm-6', [ $enable_tshirt_size ? form_select('tshirt_size', _('Shirt size') . ' ' . entry_required(), - $tshirt_sizes, $tshirt_size) : '' + $tshirt_sizes, $tshirt_size, _('Please select...')) : '' ]) ]), div('row', [ |