From 29820e05ac8405ee4084fc20c1511374514437fc Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 23 Jun 2015 14:38:37 +0200 Subject: [PATCH] Util: fix pass-by-ref error --- library/Director/Util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Director/Util.php b/library/Director/Util.php index 8b3d5c62..84b79463 100644 --- a/library/Director/Util.php +++ b/library/Director/Util.php @@ -18,6 +18,6 @@ class Util public static function binary2hex($hex) { - return end(unpack('H*', $hex)); + return current(unpack('H*', $hex)); } }