diff options
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; |