From 98c4d3853c3d26d6db9cb1231a9b537bc1154dcf Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 1 Jul 2018 15:30:15 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=85=EC=9E=A5=20=EC=9D=BC=EB=9E=8C=20?= =?UTF-8?q?=EB=A0=88=ED=8D=BC=EB=9F=B0=EC=8A=A4=20=20=EA=B0=92=20=EB=AF=B8?= =?UTF-8?q?=ED=91=9C=EA=B8=B0=20=EB=AC=B8=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/a_bestGeneral.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/a_bestGeneral.php b/hwe/a_bestGeneral.php index 95782bf9..4bc2c8ca 100644 --- a/hwe/a_bestGeneral.php +++ b/hwe/a_bestGeneral.php @@ -176,7 +176,7 @@ $templates = new \League\Plates\Engine('templates'); foreach($types as $idx=>[$typeName, $typeValue, $typeFunc]){ $validCnt = 0; - $typeGenerals = array_map(function($general) use($typeValue, $typeFunc, $validCnt){ + $typeGenerals = array_map(function($general) use($typeValue, $typeFunc, &$validCnt){ $general = ($typeFunc)($general); $value = $general['value'];