dever há 5 anos atrás
pai
commit
cc956c5736
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      lib/Manage.php

+ 2 - 2
lib/Manage.php

@@ -187,9 +187,9 @@ class Manage
                 foreach ($option as $k => $v) {
                     $body .= '<tr data-row="' .($k+1). '">';
 
-                    foreach ($v['name'] as $k => $v) {
+                    foreach ($v['name'] as $k1 => $v1) {
                         $rows = 1;
-                        $body .= '<td width="50" rowspan="'.$rows.'">'.$v.'</td>';
+                        $body .= '<td width="50" rowspan="'.$rows.'">'.$v1.'</td>';
                     }
                     $body .= '<td width="30"><input type="text" class="layui-input" name="price[]" /></td>';
                     $body .= '<td width="30"><input type="text" class="layui-input" name="price[]" /></td>';