till
2008-03-24 8f4dcbdc429cb2a295a311db7b3321236286df18
* added escapeSimple() (#1484874)



1 files modified
16 ■■■■■ changed files
program/include/rcube_mdb2.inc 16 ●●●●● patch | view | raw | blame | history
program/include/rcube_mdb2.inc
@@ -429,6 +429,22 @@
    return $this->db_handle->quoteIdentifier($str);
    }
  /**
   * Escapes a string
   *
   * @param  string  The string to be escaped
   * @return string  The escaped string
   * @access public
   * @since  0.1.1
   */
  function escapeSimple($str)
    {
    if (!$this->db_handle)
      $this->db_connect('r');
    return $this->db_handle->escape($str);
    }
  /**
   * Return SQL function for current time and date