Util: fix pass-by-ref error
This commit is contained in:
parent
676acf0740
commit
29820e05ac
|
@ -18,6 +18,6 @@ class Util
|
|||
|
||||
public static function binary2hex($hex)
|
||||
{
|
||||
return end(unpack('H*', $hex));
|
||||
return current(unpack('H*', $hex));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue