From: joshuaruesweg Date: Fri, 4 Dec 2020 09:09:32 +0000 (+0100) Subject: Fix updating pageLogo in StyleAction X-Git-Tag: 5.3.2~65 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4b2f4354e6fab91ea1d7b38d7009f1f7f990d357;p=GitHub%2FWoltLab%2FWCF.git Fix updating pageLogo in StyleAction --- diff --git a/wcfsetup/install/files/lib/data/style/StyleAction.class.php b/wcfsetup/install/files/lib/data/style/StyleAction.class.php index c0f4aa5284..ca31cf5239 100644 --- a/wcfsetup/install/files/lib/data/style/StyleAction.class.php +++ b/wcfsetup/install/files/lib/data/style/StyleAction.class.php @@ -197,6 +197,9 @@ class StyleAction extends AbstractDatabaseObjectAction implements IToggleAction else if ($file === null) { $this->parameters['variables'][$type] = ''; } + else { + $this->parameters['variables'][$type] = basename($file->getLocation()); + } } }