From c7dbb1d53a7f1c8559e06d1c69c2817a12c5d411 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 20 Nov 2008 07:27:09 -0500 Subject: [PATCH] show error on empty gallery darcs-hash:20081120122709-84dde-3af930fcea7788753517537afd762999cc4e0a93.gz --- lib/gallery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }