Created
June 26, 2009 12:59
-
-
Save biakaveron/136456 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// modules/database/classes/database.php, Line 238 | |
if (FALSE !== $dotpos = strpos($value, '.')) | |
{ | |
if (substr($value, -1) == '*') | |
{ | |
return $this->_identifier.substr($value, 0, $dotpos).$this->_identifier.'.*'; | |
} | |
// Dots are used to separate schema, table, and column names | |
$value = str_replace('.', "{$this->_identifier}.{$this->_identifier}", $value); | |
} | |
return $this->_identifier.$value.$this->_identifier; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment