diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-01-02 12:15:15 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-01-02 12:15:15 +0100 |
commit | 7a3c0c96c469d0855ba27476fc6adde25ae8fa72 (patch) | |
tree | c7ad19ba3a46d9180f11664aa7c10bca9ae5ea1d /program/lib/Roundcube | |
parent | 2957e77fbcd3f1b3045c12cc8bc91509257c13be (diff) |
Use '0' instead of 0, to fix possible issue.
Diffstat (limited to 'program/lib/Roundcube')
-rw-r--r-- | program/lib/Roundcube/html.php | 4 |
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']; |