tbrehm
2011-08-10 552714c3e12e29e1dfa4209865c7c5d7be2abc01
interface/lib/classes/db_mysql.inc.php
@@ -54,6 +54,10 @@
      //$this->connect();
   }
   public function __destruct() {
      $this->closeConn();
   }
   /**  Error handler */
   public function updateError($location)
    {
@@ -483,7 +487,7 @@
       
    public function tableInfo($table_name) {
        //* Tabellenfelder einlesen ?
        if($rows = $this->queryAllRecords('SHOW FIELDS FROM $table_name')){
        if($rows = $this->queryAllRecords('SHOW FIELDS FROM '.$table_name)){
        foreach($rows as $row) {
            $name    = $row['Field'];
            $default = $row['Default'];