]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix syntax error
authorZach Copley <zach@status.net>
Tue, 16 Nov 2010 06:10:49 +0000 (06:10 +0000)
committerZach Copley <zach@status.net>
Tue, 16 Nov 2010 06:10:49 +0000 (06:10 +0000)
lib/currentuserdesignaction.php

index 7cd892022dfd8e0e77996ff83408d3f6747ec11f..012d30ad6fbd312fd9cca53ff057273af4b7d238 100644 (file)
@@ -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;