Fix syntax error
This commit is contained in:
parent
0b573e0d2b
commit
64a29bd401
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user