summaryrefslogtreecommitdiff
path: root/lib/ownerdesignaction.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ownerdesignaction.php')
-rw-r--r--lib/ownerdesignaction.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/ownerdesignaction.php b/lib/ownerdesignaction.php
index b6b30a606..424474f42 100644
--- a/lib/ownerdesignaction.php
+++ b/lib/ownerdesignaction.php
@@ -62,7 +62,10 @@ class OwnerDesignAction extends Action {
parent::showStylesheets();
$design = $this->getDesign();
- $design->showCSS($this);
+
+ if (!empty($design)) {
+ $design->showCSS($this);
+ }
}
/**