Util: fix pass-by-ref error

This commit is contained in:
Thomas Gelf 2015-06-23 14:38:37 +02:00
parent 676acf0740
commit 29820e05ac
1 changed files with 1 additions and 1 deletions

View File

@ -18,6 +18,6 @@ class Util
public static function binary2hex($hex)
{
return end(unpack('H*', $hex));
return current(unpack('H*', $hex));
}
}