Fixed disabling of Google Fonts for styles
authorAlexander Ebert <ebert@woltlab.com>
Sun, 25 Dec 2016 19:06:10 +0000 (20:06 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 25 Dec 2016 19:06:17 +0000 (20:06 +0100)
wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php

index eaacd517fff246a931b522bcb7b5235cbf04079c..a4574e3f71df3e2ee488b0c4804fad7925e30461 100644 (file)
@@ -243,6 +243,7 @@ class StyleAddForm extends AbstractForm {
                        if (isset($_POST[$variableName])) $this->variables[$variableName] = StringUtil::trim($_POST[$variableName]);
                }
                $this->variables['useFluidLayout'] = isset($_POST['useFluidLayout']) ? 1 : 0;
+               $this->variables['useGoogleFont'] = isset($_POST['useGoogleFont']) ? 1 : 0;
                
                // style data
                if (isset($_POST['authorName'])) $this->authorName = StringUtil::trim($_POST['authorName']);