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