From: Zach Copley Date: Tue, 16 Nov 2010 06:10:49 +0000 (+0000) Subject: Fix syntax error X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=64a29bd401bb7f38e174a6529c062dd3c20bfe5b;p=quix0rs-gnu-social.git Fix syntax error --- diff --git a/lib/currentuserdesignaction.php b/lib/currentuserdesignaction.php index 7cd892022d..012d30ad6f 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;