Bug #3052 » 3052.patch
| administrator/components/com_comprofiler/library/cb/cb.database.php | ||
|---|---|---|
|
// single-quoted: \'(?:[^\\\']|\\.)*\'
|
||
|
// )
|
||
|
// possibly: ?
|
||
|
$pattern = '/(?<=[^"\'])(' . preg_quote( $prefix, '/' ) . ')("(?:[^\\\\"]|\.)*"|\'(?:[^\\\\\']|\.)*\')?/';
|
||
|
$pattern = '/(?:(?<=[^"\'])|^)(' . preg_quote( $prefix, '/' ) . ')("(?:[^\\\\"]|\.)*"|\'(?:[^\\\\\']|\.)*\')?/';
|
||
|
return preg_replace( $pattern, $this->getPrefix() . '\\2', $sql );
|
||
|
}
|
||
|
/**
|
||