명장 일람 레퍼런스 값 미표기 문제 해결

This commit is contained in:
2018-07-01 15:30:15 +09:00
parent 7c91143f39
commit 98c4d3853c
+1 -1
View File
@@ -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'];