Fix updating pageLogo in StyleAction
authorjoshuaruesweg <ruesweg@woltlab.com>
Fri, 4 Dec 2020 09:09:32 +0000 (10:09 +0100)
committerjoshuaruesweg <ruesweg@woltlab.com>
Fri, 4 Dec 2020 09:13:36 +0000 (10:13 +0100)
wcfsetup/install/files/lib/data/style/StyleAction.class.php

index c0f4aa528453294783254588cfcc6c6e6d57b67e..ca31cf52393e0bd4532a61a1fe854a5fef47c449 100644 (file)
@@ -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());
+                               }
                        }
                }