Skip to content

Commit 84e13ff

Browse files
Merge pull request #127 from creative-commoners/pulls/2.3/chars
FIX Ignore invalid byte character
2 parents afec739 + 17e9f53 commit 84e13ff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

code/PostgreSQLSchemaManager.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,9 @@ protected function extractTriggerColumns($triggerName, $table)
858858
$argList = array();
859859
$nextArg = "";
860860
foreach ($bytes as $byte) {
861-
if ($byte == "00") {
861+
if ($byte == '\x') {
862+
continue;
863+
} elseif ($byte == "00") {
862864
$argList[] = $nextArg;
863865
$nextArg = "";
864866
} else {

0 commit comments

Comments
 (0)