mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 08:06:59 +02:00
MS SQL: Support [ in udf_unescape
This commit is contained in:
@@ -29,7 +29,7 @@ function version() {
|
|||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function idf_unescape($idf) {
|
function idf_unescape($idf) {
|
||||||
if (!preg_match('~^[`\'"]~', $idf)) {
|
if (!preg_match('~^[`\'"[]~', $idf)) {
|
||||||
return $idf;
|
return $idf;
|
||||||
}
|
}
|
||||||
$last = substr($idf, -1);
|
$last = substr($idf, -1);
|
||||||
|
Reference in New Issue
Block a user