fix фигурных скобок у строк
This commit is contained in:
parent
9aa5f0fa09
commit
dfb800682b
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ class Tools_SQLStatementExtractor {
|
||||||
trigger_error("substring(), Endindex out of bounds must be $startpos<n<".($len-1), E_USER_ERROR);
|
trigger_error("substring(), Endindex out of bounds must be $startpos<n<".($len-1), E_USER_ERROR);
|
||||||
}
|
}
|
||||||
if ($startpos === $endpos) {
|
if ($startpos === $endpos) {
|
||||||
return (string) $string{$startpos};
|
return (string) $string[$startpos];
|
||||||
} else {
|
} else {
|
||||||
$len = $endpos-$startpos;
|
$len = $endpos-$startpos;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue