X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Fdvalue.htm;h=9745fff4cbbae4d801251502a60ac0a31017e0fb;hb=7b23839dce0c09953142a5af946ab642027bc3c5;hp=28cd9ab948fdc50e9ac2541dfb1342a6b35fd428;hpb=712424dc0cf17a60f3d77024b892cc04146f6295;p=project%2Fluci.git
diff --git a/libs/cbi/luasrc/view/cbi/dvalue.htm b/libs/cbi/luasrc/view/cbi/dvalue.htm
index 28cd9ab94..9745fff4c 100644
--- a/libs/cbi/luasrc/view/cbi/dvalue.htm
+++ b/libs/cbi/luasrc/view/cbi/dvalue.htm
@@ -15,8 +15,8 @@ $Id$
<%+cbi/valueheader%>
<% if self.href then %><% end -%>
- <%=luci.util.pcdata(self:cfgvalue(section))%>
+ <%=pcdata(self:cfgvalue(section) or self.default or "")%>
<%- if self.href then %><%end%>
-
+" />
<%+cbi/valuefooter%>