Browse code

#16 fix [] operator not supported for strings

Jimako authored on 2023/09/07 02:36:48
Showing 1 changed files
... ...
@@ -88,7 +88,7 @@ class multi_upfiles extends file_upload {
88 88
 	}
89 89
 	function upload_multi_files () {
90 90
 		global $output, $imageheight, $imagewidth; 
91
-		$this->message = "";
91
+		$this->message = array();
92 92
 		if ($this->count_files()) {
93 93
 			foreach ($this->names_array as $key => $value) { 
94 94
 				if ($value != "") {