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 +?>