Skip to content

Commit

Permalink
Stop using deprecated array access syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mbabker committed Aug 13, 2019
1 parent f1b3d9b commit 486f073
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DatabaseDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -1588,7 +1588,7 @@ protected function quoteNameStr($strArr)
}
else
{
$parts[] = $q{0} . $part . $q{1};
$parts[] = $q[0] . $part . $q[1];
}
}

Expand Down Expand Up @@ -1666,7 +1666,7 @@ public function replacePrefix($sql, $prefix = '#__')

$l = $k - 1;

while ($l >= 0 && $sql{$l} === '\\')
while ($l >= 0 && $sql[$l] === '\\')
{
$l--;
$escaped = !$escaped;
Expand Down

0 comments on commit 486f073

Please sign in to comment.