forked from GNUsocial/gnu-social
Tiny change to the public tag cloud dealing with empty page.
This commit is contained in:
parent
9698247722
commit
439d521c86
@ -63,7 +63,7 @@ class PublictagcloudAction extends Action
|
|||||||
sprintf(_('These are most popular recent tags on %s '),
|
sprintf(_('These are most popular recent tags on %s '),
|
||||||
common_config('site', 'name')));
|
common_config('site', 'name')));
|
||||||
|
|
||||||
$tags = new Notice_tag();
|
$tags = new Notice_tag;
|
||||||
if ($tags->count()) {
|
if ($tags->count()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user