Skip to content

Commit

Permalink
We want the actual size here, not the approximate size.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Dec 30, 2013
1 parent 7678ffe commit 234a0c8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -303,7 +303,7 @@ protected function _getDataSize($data)
fseek($data, 0, SEEK_END);
return ftell($data);
} else {
return strlen(bin2hex($data)) / 2;
return strlen($data);
}
}

Expand Down

0 comments on commit 234a0c8

Please sign in to comment.