summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-10-30 02:41:25 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-10-30 02:41:25 +0000
commitd69e2df94595bd4845ff8b74edd8e1e0d4be28a1 (patch)
tree4953fdeadf8fe198514dbd61fd53cb357667a48c
parentd951b66b452a634e6267e4a620410635f5a511ae (diff)
* luci-0.8: backport cbi fix
-rw-r--r--libs/cbi/luasrc/view/cbi/full_valuefooter.htm4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/cbi/luasrc/view/cbi/full_valuefooter.htm b/libs/cbi/luasrc/view/cbi/full_valuefooter.htm
index a9596441b5..0ae45fb328 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 -%>
<br />
<%- end %>
@@ -42,4 +42,4 @@ $Id$
}, "cbip-<%=self.config.."-"..section.."-"..self.option%>");
<%- end %>
</script>
-<%- end %> \ No newline at end of file
+<%- end %>