From c7dbb1d53a7f1c8559e06d1c69c2817a12c5d411 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 20 Nov 2008 07:27:09 -0500 Subject: show error on empty gallery darcs-hash:20081120122709-84dde-3af930fcea7788753517537afd762999cc4e0a93.gz --- lib/gallery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/gallery.php b/lib/gallery.php index cfb6b650c..5914745f7 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; } -- cgit v1.2.3-54-g00ecf