about summary refs log tree commit diff stats
path: root/series/trunk/admin
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-09-14 16:01:21 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-09-14 16:01:21 +0000
commit0a7b6e0a31bdb0aa14aa09822ef016edd10b33e4 (patch)
treecba7bbb3557846fa02bb3a19350132f451153ce7 /series/trunk/admin
parentdd3c79a489aa04365037e1cc2aa0fc6b206a8993 (diff)
downloadinstadisc-0a7b6e0a31bdb0aa14aa09822ef016edd10b33e4.tar.gz
instadisc-0a7b6e0a31bdb0aa14aa09822ef016edd10b33e4.tar.bz2
instadisc-0a7b6e0a31bdb0aa14aa09822ef016edd10b33e4.zip
Series: [15]
Refs #53
Diffstat (limited to 'series/trunk/admin')
-rw-r--r--series/trunk/admin/mansub.php7
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;
31for ($i=0;isset($subs[$i]);$i++) 31for ($i=0;isset($subs[$i]);$i++)
32{ 32{
33 $j++;
34}
35$j--;
36for ($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}