Skip to content

Commit

Permalink
Merge pull request #127 from creative-commoners/pulls/2.3/chars
Browse files Browse the repository at this point in the history
FIX Ignore invalid byte character
  • Loading branch information
GuySartorelli authored Apr 21, 2022
2 parents afec739 + 17e9f53 commit 84e13ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/PostgreSQLSchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,9 @@ protected function extractTriggerColumns($triggerName, $table)
$argList = array();
$nextArg = "";
foreach ($bytes as $byte) {
if ($byte == "00") {
if ($byte == '\x') {
continue;
} elseif ($byte == "00") {
$argList[] = $nextArg;
$nextArg = "";
} else {
Expand Down

0 comments on commit 84e13ff

Please sign in to comment.