diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-14 16:01:21 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-14 16:01:21 +0000 |
commit | 0a7b6e0a31bdb0aa14aa09822ef016edd10b33e4 (patch) | |
tree | cba7bbb3557846fa02bb3a19350132f451153ce7 /series | |
parent | dd3c79a489aa04365037e1cc2aa0fc6b206a8993 (diff) | |
download | instadisc-0a7b6e0a31bdb0aa14aa09822ef016edd10b33e4.tar.gz instadisc-0a7b6e0a31bdb0aa14aa09822ef016edd10b33e4.tar.bz2 instadisc-0a7b6e0a31bdb0aa14aa09822ef016edd10b33e4.zip |
Series: [15]
Refs #53
Diffstat (limited to 'series')
-rw-r--r-- | series/trunk/admin/mansub.php | 7 |
1 files changed, 6 insertions, 1 deletions
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,9 +27,14 @@ if (instaDisc_isAdmin($_SESSION['username'])) | |||
27 | } else { | 27 | } else { |
28 | $subs = instaDisc_listSubscriptions($_SESSION['username']); | 28 | $subs = instaDisc_listSubscriptions($_SESSION['username']); |
29 | } | 29 | } |
30 | $i=0; | 30 | $i=0; $j=0; |
31 | for ($i=0;isset($subs[$i]);$i++) | 31 | for ($i=0;isset($subs[$i]);$i++) |
32 | { | 32 | { |
33 | $j++; | ||
34 | } | ||
35 | $j--; | ||
36 | for ($i=0;$i<$j;$i++) | ||
37 | { | ||
33 | $template->adds_block('SUBSCRIPTIONS', array( 'IDENTITY' => $subs[$i]['identity'], | 38 | $template->adds_block('SUBSCRIPTIONS', array( 'IDENTITY' => $subs[$i]['identity'], |
34 | 'ID' => $subs[$i]['id'])); | 39 | 'ID' => $subs[$i]['id'])); |
35 | } | 40 | } |