Added missing execute statement.
authorJim Martens <jim1@live.de>
Sun, 23 Sep 2012 10:45:59 +0000 (12:45 +0200)
committerJim Martens <jim1@live.de>
Sun, 23 Sep 2012 10:45:59 +0000 (12:45 +0200)
wcfsetup/install/files/lib/system/style/StyleCompiler.class.php

index 3073e16f021d9f39bf5c1b4d8de1db43fca614c6..fd7709ba52f5a102a84ecc38f09e9914c11c6f66 100644 (file)
@@ -67,6 +67,7 @@ class StyleCompiler extends SingletonFactory {
                        FROM    wcf".WCF_N."_style_variable
                        WHERE   styleID = ?";
                $statement = WCF::getDB()->prepareStatement($sql);
+               $statement->execute(array($style->styleID));
                $variables = array();
                $individualCss = $individualLess = '';
                while ($row = $statement->fetchArray()) {