Compare commits

...

2 Commits

Author SHA1 Message Date
Guy Sartorelli
84e13ffde3
Merge pull request #127 from creative-commoners/pulls/2.3/chars
FIX Ignore invalid byte character
2022-04-21 18:40:22 +12:00
Steve Boyd
17e9f5388c FIX Ignore invalid byte character 2022-04-21 14:14:28 +12:00

View File

@ -858,7 +858,9 @@ class PostgreSQLSchemaManager extends DBSchemaManager
$argList = array(); $argList = array();
$nextArg = ""; $nextArg = "";
foreach ($bytes as $byte) { foreach ($bytes as $byte) {
if ($byte == "00") { if ($byte == '\x') {
continue;
} elseif ($byte == "00") {
$argList[] = $nextArg; $argList[] = $nextArg;
$nextArg = ""; $nextArg = "";
} else { } else {