Browse Source

去掉多余

durong 5 years ago
parent
commit
0457bd4675
1 changed files with 0 additions and 1 deletions
  1. 0 1
      app/Repositories/CmsContentTemplateSetRepository.php

+ 0 - 1
app/Repositories/CmsContentTemplateSetRepository.php

@@ -573,7 +573,6 @@ class CmsContentTemplateSetRepository
         $count = count($all_subject);
         $new_rule = [];
         foreach ($all_subject as $k => $v) {
-            $new_rule[$k]['rule'] = [];
             if (count(json_decode($v['rule'])) > 0) {
                 $new_rule[$k]['area_type'] = $v['area_type'];
                 $new_rule[$k]['rule']['id'] = $v['id'];