rabin преди 3 години
родител
ревизия
4788987f81
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      service/agent/lib/Import.php

+ 1 - 0
service/agent/lib/Import.php

@@ -440,6 +440,7 @@ class Import
         $key = 9;
         if ($data) {
             foreach ($data as $k => $v) {
+                $update = array();
                 $update['avatar'] = $this->upload($v['avatar']);
                 $update['sign'] = $this->upload($v['sign']);
                 $update['idcard_front'] = $this->upload($v['idcard_front']);