summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-21 15:11:35 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-21 15:11:35 -0400
commit5dce1e47a3d6ad397d120aaa57fb103bd29c654b (patch)
treeb796e9da5b15a2293321e5feb6de1408929e0a6e /actions/showstream.php
parent0f0d50f06a841e4faed475aa5f73f8bc08bb3a39 (diff)
close unclosed rows in subscriptions
darcs-hash:20080521191135-84dde-11f89c88ef526ff41bfc1d0d3bfe774f5796c2da.gz
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index 984c2454b..4f9128be8 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -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'),