diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-11-20 07:27:09 -0500 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-11-20 07:27:09 -0500 |
commit | c7dbb1d53a7f1c8559e06d1c69c2817a12c5d411 (patch) | |
tree | 3318680789f8864c93ee7db8f9079e4646f69e30 /lib | |
parent | c9aa0aebf9c290925dd67243902a72b4cb853653 (diff) |
show error on empty gallery
darcs-hash:20081120122709-84dde-3af930fcea7788753517537afd762999cc4e0a93.gz
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gallery.php | 2 |
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; } |