diff --git a/twe/func.php b/twe/func.php index 1fb50322..1959456a 100644 --- a/twe/func.php +++ b/twe/func.php @@ -22,6 +22,8 @@ require_once('func_map.php'); require_once('func_diplomacy.php'); require_once('func_command.php'); +use utilphp\util as util; + /** * 0.0~1.0 사이의 랜덤 float * @return float diff --git a/twe/lib.php b/twe/lib.php index d22f7d67..32b79db6 100644 --- a/twe/lib.php +++ b/twe/lib.php @@ -300,7 +300,7 @@ function isDict(&$array){ } -function eraseNullValue(&$dict, $depth=512){ +function eraseNullValue($dict, $depth=512){ //TODO:Test 추가 if($dict === null){ return null;