Tiny change to the public tag cloud dealing with empty page.

This commit is contained in:
Robin Millette 2009-04-03 20:37:29 +00:00
parent 9698247722
commit 439d521c86

View File

@ -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;
} }