summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-11-20 07:27:09 -0500
committerEvan Prodromou <evan@prodromou.name>2008-11-20 07:27:09 -0500
commitc7dbb1d53a7f1c8559e06d1c69c2817a12c5d411 (patch)
tree3318680789f8864c93ee7db8f9079e4646f69e30 /lib
parentc9aa0aebf9c290925dd67243902a72b4cb853653 (diff)
show error on empty gallery
darcs-hash:20081120122709-84dde-3af930fcea7788753517537afd762999cc4e0a93.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/gallery.php2
1 files changed, 1 insertions, 1 deletions
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;
}