From: Evan Prodromou Date: Thu, 20 Nov 2008 12:27:09 +0000 (-0500) Subject: show error on empty gallery X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c7dbb1d53a7f1c8559e06d1c69c2817a12c5d411;p=quix0rs-gnu-social.git show error on empty gallery darcs-hash:20081120122709-84dde-3af930fcea7788753517537afd762999cc4e0a93.gz --- diff --git a/lib/gallery.php b/lib/gallery.php index cfb6b650c5..5914745f7e 100644 --- a/lib/gallery.php +++ b/lib/gallery.php @@ -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; }