dever преди 1 година
родител
ревизия
d2d24bfb28
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      lib/Store/Core.php

+ 3 - 1
lib/Store/Core.php

@@ -366,9 +366,11 @@ class Core
 			}
 		}
 
+		$this->output['ext'] = $this->ext;
 		$this->output['uploaded'] = true;
 		$this->output['status'] = 1;
-		$this->output['name'] = $this->data['file']['name'];
+		$this->output['name'] = $this->name;
+		$this->output['source_name'] = $this->data['file']['name'];
 		$this->output['fid'] = $this->id;
 		if ($this->limit) {
 			$this->output['width'] = $this->limit[0];