alecpl
2008-06-14 46290afee202066d2510db1c02e86838da88545c
- fixed warning when show()'ing tables without attributes


1 files modified
6 ■■■■■ changed files
program/include/html.php 6 ●●●●● patch | view | raw | blame | history
program/include/html.php
@@ -603,9 +603,11 @@
     * @param array Table attributes
     * @return string The final table HTML code
     */
    public function show($attr = array())
    public function show($attrib = null)
    {
        $this->attrib = array_merge($this->attrib, $attr);
    if (is_array($attrib))
            $this->attrib = array_merge($this->attrib, $attrib);
        $thead = $tbody = "";
        // include <thead>