thomascube
2005-11-06 10a699759d4f106f29c077a6d65d3b8d212825e5
program/include/rcube_db.inc
@@ -220,7 +220,17 @@
        return $result->fetchRow(DB_FETCHMODE_ASSOC);
    }
   function quoteIdentifier ( $str )
    function quote($input, $type=null)
    {
      if (!$this->db_handle)
         $this->db_connect('r');
      return $this->db_handle->quote($input);
    }
   function quoteIdentifier($str)
   {
      if (!$this->db_handle)
         $this->db_connect('r');
@@ -228,6 +238,12 @@
      return $this->db_handle->quoteIdentifier($str);
   }
   
   function quote_identifier($str)
   {
      return $this->quoteIdentifier($str);
   }
   function unixtimestamp($field)
   {
      switch($this->db_provider)