From 0e6233d68bd4d18d0c355421c9a61f041dbe82e2 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 5 Apr 2016 00:34:44 +0200 Subject: [PATCH] Fixed a style issue during setup --- wcfsetup/install/files/lib/data/style/Style.class.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/wcfsetup/install/files/lib/data/style/Style.class.php b/wcfsetup/install/files/lib/data/style/Style.class.php index 81daf9ca63..07f607cbf5 100644 --- a/wcfsetup/install/files/lib/data/style/Style.class.php +++ b/wcfsetup/install/files/lib/data/style/Style.class.php @@ -108,16 +108,8 @@ class Style extends DatabaseObject { while ($row = $statement->fetchArray()) { $variableName = $row['variableName']; $variableValue = (isset($row['variableValue'])) ? $row['variableValue'] : $row['defaultValue']; - if (empty($variableValue)) { - $variableValue = '~""'; - } $this->variables[$variableName] = $variableValue; - - // provide an empty value for LESS-compiler - if (empty($this->variables[$variableName])) { - $this->variables[$variableName] = "~''"; - } } } -- 2.20.1