summaryrefslogtreecommitdiff
path: root/classes/pref/labels.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/pref/labels.php')
-rw-r--r--classes/pref/labels.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pref/labels.php b/classes/pref/labels.php
index a58e33ac9..b4c4d425e 100644
--- a/classes/pref/labels.php
+++ b/classes/pref/labels.php
@@ -27,7 +27,7 @@ class Pref_Labels extends Handler_Protected {
print "<div class=\"dlgSecCont\">";
$fg_color = $line['fg_color'];
- $bg_color = $line['bg_color'];
+ $bg_color = $line['bg_color'] ? $line['bg_color'] : '#fff7d5';
print "<input style='font-size : 16px; color : $fg_color; background : $bg_color; transition : background 0.1s linear'
id='labelEdit_caption' name='caption' dojoType='dijit.form.ValidationTextBox'