Reload styleEditor after updating image path
authorjoshuaruesweg <ruesweg@woltlab.com>
Fri, 11 Dec 2020 10:48:22 +0000 (11:48 +0100)
committerjoshuaruesweg <ruesweg@woltlab.com>
Fri, 11 Dec 2020 10:54:49 +0000 (11:54 +0100)
commite32485ce3abad0c664cfdda26b4d98fd98e9aa62
tree14ba2303908d5c977e6c9faaa139cd4dc8bf2b0a
parentc8f3f503fb2c903492517a2f6b5b3775b4d9aa42
Reload styleEditor after updating image path
Because the style is compiled after the variables have been set, we have to reload the style object once with the correct `imagePath` so that it can be used correctly in the initial compilation.
wcfsetup/install/files/lib/data/style/StyleEditor.class.php