* luci/libs/cbi: fix error assignment in cbi sections
[project/luci.git] / libs / cbi / luasrc / view / cbi / cell_valueheader.htm
index 9a065a3da5c43897ea3436b787e66f1d1bdbfde1..dda17463cf0bd88a9c0bb64372d7311538c2dc0e 100644 (file)
@@ -13,4 +13,4 @@ $Id$
 
 -%>
 
-<td class="cbi-value-field<% if self.error then %> cbi-value-error<% end %>" id="cbi-<%=self.config.."-"..section.."-"..self.option%>">
+<td class="cbi-value-field<% if self.error and self.error[section] then %> cbi-value-error<% end %>" id="cbi-<%=self.config.."-"..section.."-"..self.option%>">