Skip to content

Commit 8c1c191

Browse files
committed
Array merge fix in Image.php.
1 parent bdb7009 commit 8c1c191

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

editor-php-sdk-example

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 337c5e61489e68779e805e2dc0759b2d567b7b88

lib/FroalaEditor/Image.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static function upload($fileRoute, $options = NULL) {
3131
if (is_null($options)) {
3232
$options = Image::$defaultUploadOptions;
3333
} else {
34-
$options = array_merge(Image::$defaultUploadOptions, $options);
34+
$options = array_merge_recursive(Image::$defaultUploadOptions, $options);
3535
}
3636

3737
// Upload image.

0 commit comments

Comments
 (0)