Skip to content

Commit 58161d2

Browse files
committed
Update server/php/upload.class.php
Changing options merge to array_merge in order to have full control when passing options array. blueimp#1807
1 parent f685a16 commit 58161d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/php/upload.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function __construct($options = null, $initialize = true) {
9191
)
9292
);
9393
if ($options) {
94-
$this->options = array_replace_recursive($this->options, $options);
94+
$this->options = array_merge($this->options, $options);
9595
}
9696
if ($initialize) {
9797
$this->initialize();

0 commit comments

Comments
 (0)