summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
Diffstat (limited to 'program/include')
-rw-r--r--program/include/html.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/include/html.php b/program/include/html.php
index d09727898..27eeebb2d 100644
--- a/program/include/html.php
+++ b/program/include/html.php
@@ -675,8 +675,7 @@ class html_table extends html
if ($index === null)
$index = $this->rowindex;
- if ($this->rows[$index])
- $this->rows[$index]->attrib = $attr;
+ $this->rows[$index]->attrib = $attr;
}
/**