From ea42e8bf632fd37c15dfbef1760964cbe873c67d Mon Sep 17 00:00:00 2001 From: Pietro Date: Sat, 31 Mar 2018 17:32:17 +0200 Subject: [PATCH] A little forgetfulness --- GameEngine/Multisort.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GameEngine/Multisort.php b/GameEngine/Multisort.php index b762fee0..31eb9e43 100755 --- a/GameEngine/Multisort.php +++ b/GameEngine/Multisort.php @@ -25,7 +25,7 @@ class multiSort { if($i + 2 < func_num_args()) $type = func_get_arg($i + 2); - $t = function($a, $b) use ($key) + $t = function($a, $b) use ($key, $type) { switch($type) { @@ -55,4 +55,4 @@ class multiSort { }; $multisort = new multiSort; -?> \ No newline at end of file +?>