thomascube
2008-06-24 0d88e5095509ebf69ba748d5bb52460807c3880d
program/include/html.php
@@ -603,10 +603,12 @@
     * @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);
        $thead = $tbody = "";
   if (is_array($attrib))
           $this->attrib = array_merge($this->attrib, $attrib);
   $thead = $tbody = "";
        // include <thead>
        if (!empty($this->header)) {