dever hace 5 años
padre
commit
25991c58c4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Save.php

+ 1 - 1
src/Save.php

@@ -46,7 +46,7 @@ class Save
 		//file_put_contents(Dever::data() . 'upload.txt', var_export($image, true)); 
 		if ($image['file']) {
 
-			if (is_array($image['file']) && isset($image['file'][0])) {
+			if (is_array($image['file']) && (isset($image['file'][0]) || isset($image['file']['files_0']))) {
 				$send = $image;
 				foreach($image['file'] as $k => $v) {
 					$send['file'] = $v;