Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PHPUnit/Framework/TestCase/SystemTestCase.php')
-rwxr-xr-xtests/PHPUnit/Framework/TestCase/SystemTestCase.php2
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;