]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
close unclosed rows in subscriptions
authorEvan Prodromou <evan@prodromou.name>
Wed, 21 May 2008 19:11:35 +0000 (15:11 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 21 May 2008 19:11:35 +0000 (15:11 -0400)
darcs-hash:20080521191135-84dde-11f89c88ef526ff41bfc1d0d3bfe774f5796c2da.gz

actions/showstream.php

index 984c2454b16202419b4d47a23d25e1180479caf0..4f9128be856cec183398e5de2f90a58b55188a94 100644 (file)
@@ -206,6 +206,11 @@ class ShowstreamAction extends StreamAction {
                        }
                }
 
+               # close any unclosed row
+               if ($cnt % SUBSCRIPTIONS_PER_ROW != 0) {
+                       common_element_end('div');
+               }
+
                common_element('a', array('href' => common_local_url('subscriptions',
                                                                                                                         array('nickname' => $profile->nickname)),
                                                                  'class' => 'moresubscriptions'),