summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/html.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-01-04 11:19:42 +0100
committerAleksander Machniak <alec@alec.pl>2014-01-04 11:19:42 +0100
commit7e0d2d9d13ff862597b689bc8cd3195dc065bf9b (patch)
tree92c468c74c19d755848a6d5c5201e1876a435e25 /program/lib/Roundcube/html.php
parent4e040e304f330c454a062a6cc30e0852daf381aa (diff)
parent4957530dec4fea360bac9e5da8f8d5b2ad51cd9b (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program/lib/Roundcube/html.php')
-rw-r--r--program/lib/Roundcube/html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/lib/Roundcube/html.php b/program/lib/Roundcube/html.php
index f6f744cb2..587b030ce 100644
--- a/program/lib/Roundcube/html.php
+++ b/program/lib/Roundcube/html.php
@@ -677,8 +677,8 @@ class html_table extends html
*/
public function __construct($attrib = array())
{
- $default_attrib = self::$doctype == 'xhtml' ? array('summary' => '', 'border' => 0) : array();
- $this->attrib = array_merge($attrib, $default_attrib);
+ $default_attrib = self::$doctype == 'xhtml' ? array('summary' => '', 'border' => '0') : array();
+ $this->attrib = array_merge($attrib, $default_attrib);
if (!empty($attrib['tagname']) && $attrib['tagname'] != 'table') {
$this->tagname = $attrib['tagname'];