Preferences: Do not set non-breaking space as a label
authorBartosz Dziewoński <matma.rex@gmail.com>
Fri, 15 Sep 2017 22:58:55 +0000 (00:58 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sat, 16 Sep 2017 13:23:08 +0000 (15:23 +0200)
If there's no label, there's just no label. No need to pretend.

Change-Id: I6b7065a23ba6532641989682d802613e0545f7e8

includes/Preferences.php

index 0a9d701..dfc2475 100644 (file)
@@ -625,7 +625,6 @@ class Preferences {
                        $defaultPreferences['skin'] = [
                                'type' => 'radio',
                                'options' => $skinOptions,
-                               'label' => '&#160;',
                                'section' => 'rendering/skin',
                        ];
                }
@@ -695,7 +694,6 @@ class Preferences {
                        $defaultPreferences['date'] = [
                                'type' => 'radio',
                                'options' => $dateOptions,
-                               'label' => '&#160;',
                                'section' => 'rendering/dateformat',
                        ];
                }