File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to ` :vips ` will be documented in this file.
4
4
5
+ ## 2.0.2 - 2022-4-14
6
+
7
+ - Fix extra optional string args on file open
8
+
5
9
## 2.0.1 - 2022-1-20
6
10
7
11
- Fix library name on macOS [ andrefelipe]
Original file line number Diff line number Diff line change @@ -320,6 +320,15 @@ public static function callBase(
320
320
"but $ n_supplied supplied " );
321
321
}
322
322
323
+ /* set any string options before any args so they can't be
324
+ * overridden.
325
+ */
326
+ if (array_key_exists ("string_options " , $ options )) {
327
+ $ string_options = $ options ["string_options " ];
328
+ unset($ options ["string_options " ]);
329
+ $ operation ->setString ($ string_options );
330
+ }
331
+
323
332
/* Set optional.
324
333
*/
325
334
foreach ($ options as $ name => $ value ) {
You can’t perform that action at this time.
0 commit comments