show error on empty gallery

darcs-hash:20081120122709-84dde-3af930fcea7788753517537afd762999cc4e0a93.gz
This commit is contained in:
Evan Prodromou 2008-11-20 07:27:09 -05:00
parent c9aa0aebf9
commit c7dbb1d53a

View File

@ -106,7 +106,7 @@ class GalleryAction extends Action {
$lim);
if ($cnt == 0) {
common_element('p', NULL, _('Nobody to show!'));
common_element('p', 'error', _('Nobody to show!'));
return;
}