diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-14 16:03:31 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-14 16:03:31 +0000 |
commit | 652e497761183219a9cef2b2274a6de26c39e787 (patch) | |
tree | e71583ee64367d01bd404b4422ea7e5b760f4c92 /series/trunk/admin | |
parent | 0a7b6e0a31bdb0aa14aa09822ef016edd10b33e4 (diff) | |
download | instadisc-652e497761183219a9cef2b2274a6de26c39e787.tar.gz instadisc-652e497761183219a9cef2b2274a6de26c39e787.tar.bz2 instadisc-652e497761183219a9cef2b2274a6de26c39e787.zip |
Series: Added instaDisc_getSubscriptionByID()
Refs #53
Diffstat (limited to 'series/trunk/admin')
-rw-r--r-- | series/trunk/admin/deletesub.php | 2 | ||||
-rw-r--r-- | series/trunk/admin/editsub.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/series/trunk/admin/deletesub.php b/series/trunk/admin/deletesub.php index 37b0bee..ac22ef3 100644 --- a/series/trunk/admin/deletesub.php +++ b/series/trunk/admin/deletesub.php | |||
@@ -52,7 +52,7 @@ if (!isset($_GET['submit'])) | |||
52 | $template->add('SITENAME',instaDisc_getConfig('siteName')); | 52 | $template->add('SITENAME',instaDisc_getConfig('siteName')); |
53 | $template->add('ID',$_GET['subid']); | 53 | $template->add('ID',$_GET['subid']); |
54 | 54 | ||
55 | $sub = instaDisc_getSubscription($_GET['subid']); | 55 | $sub = instaDisc_getSubscriptionByID($_GET['subid']); |
56 | $template->add('IDENTITY',$sub['identity']); | 56 | $template->add('IDENTITY',$sub['identity']); |
57 | $template->display(); | 57 | $template->display(); |
58 | } else { | 58 | } else { |
diff --git a/series/trunk/admin/editsub.php b/series/trunk/admin/editsub.php index cafd217..fee4107 100644 --- a/series/trunk/admin/editsub.php +++ b/series/trunk/admin/editsub.php | |||
@@ -49,7 +49,7 @@ if (!instaDisc_isAdmin($_SESSION['username'])) | |||
49 | 49 | ||
50 | if (!isset($_GET['submit'])) | 50 | if (!isset($_GET['submit'])) |
51 | { | 51 | { |
52 | $sub = instaDisc_getSubscription($_GET['subid']); | 52 | $sub = instaDisc_getSubscriptionByID($_GET['subid']); |
53 | showForm($sub['identity'],$sub['title'],$sub['category'],$sub['url'],$sub['password'],array()); | 53 | showForm($sub['identity'],$sub['title'],$sub['category'],$sub['url'],$sub['password'],array()); |
54 | } else { | 54 | } else { |
55 | $numOfErrors = 0; | 55 | $numOfErrors = 0; |