Fix syntax error

This commit is contained in:
Zach Copley 2010-11-16 06:10:49 +00:00
parent 0b573e0d2b
commit 64a29bd401

View File

@ -63,6 +63,8 @@ class CurrentUserDesignAction extends Action
parent::prepare($argarray); parent::prepare($argarray);
$this->cur = common_current_user(); $this->cur = common_current_user();
return true;
} }
/** /**
@ -76,7 +78,7 @@ class CurrentUserDesignAction extends Action
{ {
if (!empty($this->cur)) { if (!empty($this->cur)) {
$design = $cur->getDesign(); $design = $this->cur->getDesign();
if (!empty($design)) { if (!empty($design)) {
return $design; return $design;