summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-06-18 11:28:43 +0000
committeralecpl <alec@alec.pl>2011-06-18 11:28:43 +0000
commit24201dc1f48770d20ffaa44fabe1ef571f979da9 (patch)
treec520fcf209de3d1f69a4a9d0e48596f4f1f5ecf3 /program
parent39d8ccd6f27bf7944e901267100b7e2be581e3a6 (diff)
- Fix set_row_attribs() for backward compat.
Diffstat (limited to 'program')
-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;
}
/**