From 0a7b6e0a31bdb0aa14aa09822ef016edd10b33e4 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 14 Sep 2008 16:01:21 +0000 Subject: Series: [15] Refs #53 --- series/trunk/admin/mansub.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'series/trunk/admin') diff --git a/series/trunk/admin/mansub.php b/series/trunk/admin/mansub.php index 72385be..88bed6e 100644 --- a/series/trunk/admin/mansub.php +++ b/series/trunk/admin/mansub.php @@ -27,8 +27,13 @@ if (instaDisc_isAdmin($_SESSION['username'])) } else { $subs = instaDisc_listSubscriptions($_SESSION['username']); } -$i=0; +$i=0; $j=0; for ($i=0;isset($subs[$i]);$i++) +{ + $j++; +} +$j--; +for ($i=0;$i<$j;$i++) { $template->adds_block('SUBSCRIPTIONS', array( 'IDENTITY' => $subs[$i]['identity'], 'ID' => $subs[$i]['id'])); -- cgit 1.4.1