diff options
Diffstat (limited to 'tests/PHPUnit/Framework/TestCase/SystemTestCase.php')
-rwxr-xr-x | tests/PHPUnit/Framework/TestCase/SystemTestCase.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/Framework/TestCase/SystemTestCase.php b/tests/PHPUnit/Framework/TestCase/SystemTestCase.php index fdec9cb09b..0681c151d5 100755 --- a/tests/PHPUnit/Framework/TestCase/SystemTestCase.php +++ b/tests/PHPUnit/Framework/TestCase/SystemTestCase.php @@ -566,7 +566,7 @@ abstract class SystemTestCase extends PHPUnit_Framework_TestCase } else if (is_numeric($value)) { $values[] = $value; } else if (!ctype_print($value)) { - $values[] = "x'" . bin2hex(substr($value, 1)) . "'"; + $values[] = "x'" . bin2hex($value) . "'"; } else { $values[] = "?"; $bind[] = $value; |