From 4b2f4354e6fab91ea1d7b38d7009f1f7f990d357 Mon Sep 17 00:00:00 2001 From: joshuaruesweg Date: Fri, 4 Dec 2020 10:09:32 +0100 Subject: [PATCH] Fix updating pageLogo in StyleAction --- wcfsetup/install/files/lib/data/style/StyleAction.class.php | 3 +++ 1 file changed, 3 insertions(+) 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()); + } } } -- 2.20.1