Changeset 1991 in subversion


Ignore:
Timestamp:
Oct 18, 2008 5:17:36 PM (5 years ago)
Author:
alec
Message:

#1485504: applied two patches from MDB2's repository

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/lib/MDB2.php

    r1515 r1991  
    29162916        $positions = array(); 
    29172917        $position = 0; 
    2918         $ignores = $this->sql_comments; 
    2919         $ignores[] = $this->string_quoting; 
     2918        $ignores = $this->string_quoting; 
    29202919        $ignores[] = $this->identifier_quoting; 
     2920        $ignores[] = $this->sql_comments; 
    29212921        while ($position < strlen($query)) { 
    29222922            $q_position = strpos($query, $question, $position); 
     
    31493149    { 
    31503150        return sprintf($this->options['seqname_format'], 
    3151             preg_replace('/[^a-z0-9_\$.]/i', '_', $sqn)); 
     3151            preg_replace('/[^a-z0-9_\-\$.]/i', '_', $sqn)); 
    31523152    } 
    31533153 
Note: See TracChangeset for help on using the changeset viewer.