mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-22 22:53:47 +00:00
5c3ae52446
Fix #4241. Some security batches caused a minor break in Drawings, forcing `setWorksheet` to come after `setPath`. Although the problem is easily fixed in user code, this was not an intended change. Some slight recoding restores the earlier functionality where the order of calls was not important, without sacrificing the security gains. This change will be back-ported to the other active branches to which the security patch had been applied.