diff options
Diffstat (limited to 'lib/currentuserdesignaction.php')
-rw-r--r-- | lib/currentuserdesignaction.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/currentuserdesignaction.php b/lib/currentuserdesignaction.php index 7cd892022..012d30ad6 100644 --- a/lib/currentuserdesignaction.php +++ b/lib/currentuserdesignaction.php @@ -63,6 +63,8 @@ class CurrentUserDesignAction extends Action parent::prepare($argarray); $this->cur = common_current_user(); + + return true; } /** @@ -76,7 +78,7 @@ class CurrentUserDesignAction extends Action { if (!empty($this->cur)) { - $design = $cur->getDesign(); + $design = $this->cur->getDesign(); if (!empty($design)) { return $design; |