Skip to content

Commit

Permalink
Merge branch 'refs/heads/3.2/master' into 3.2/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew A Mattson committed Oct 22, 2012
2 parents 7801c6a + aa81b5c commit 8b58233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/base/data.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ protected static function unpack($data, $type) {
if (is_string($data)) {
switch ($type) {
case Data::BINARY_DATA:
$binary = (preg_match("/^(b'.*'$/i", $data))
$binary = (preg_match("/^b'.*'$/i", $data))
? substr($data, 2, strlen($data) - 3)
: $data;
return base_convert($binary, 2, 16);
Expand Down

0 comments on commit 8b58233

Please sign in to comment.