]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
show error on empty gallery
authorEvan Prodromou <evan@prodromou.name>
Thu, 20 Nov 2008 12:27:09 +0000 (07:27 -0500)
committerEvan Prodromou <evan@prodromou.name>
Thu, 20 Nov 2008 12:27:09 +0000 (07:27 -0500)
darcs-hash:20081120122709-84dde-3af930fcea7788753517537afd762999cc4e0a93.gz

lib/gallery.php

index cfb6b650c5bb16a8d2adc75b218131ff36918c8d..5914745f7ef0526fc04860db5568a7208c32db8e 100644 (file)
@@ -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;
                }