From: Jo-Philipp Wich Date: Thu, 30 Oct 2008 02:41:25 +0000 (+0000) Subject: * luci-0.8: backport cbi fix X-Git-Tag: 0.8.2~66 X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=d69e2df94595bd4845ff8b74edd8e1e0d4be28a1;p=project%2Fluci.git * luci-0.8: backport cbi fix --- diff --git a/libs/cbi/luasrc/view/cbi/full_valuefooter.htm b/libs/cbi/luasrc/view/cbi/full_valuefooter.htm index a9596441b..0ae45fb32 100644 --- a/libs/cbi/luasrc/view/cbi/full_valuefooter.htm +++ b/libs/cbi/luasrc/view/cbi/full_valuefooter.htm @@ -13,7 +13,7 @@ $Id$ -%> - <% if #self.description > 0 then -%> + <% if self.description and #self.description > 0 then -%> <% if not luci.util.instanceof( self, luci.cbi.Flag ) then -%>
<%- end %> @@ -42,4 +42,4 @@ $Id$ }, "cbip-<%=self.config.."-"..section.."-"..self.option%>"); <%- end %> -<%- end %> \ No newline at end of file +<%- end %>