From 1edd0db6fbfb0ceb148c6de21e99a112da5cddbd Mon Sep 17 00:00:00 2001 From: Darko Date: Tue, 31 Mar 2015 09:52:11 +0200 Subject: [PATCH] Add missing ebook processing to site edit. --- lib/copy_this/www/admin/site-edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/copy_this/www/admin/site-edit.php b/lib/copy_this/www/admin/site-edit.php index 5c64958d0..f88b4336b 100644 --- a/lib/copy_this/www/admin/site-edit.php +++ b/lib/copy_this/www/admin/site-edit.php @@ -121,8 +121,8 @@ $page->smarty->assign('lookuptv_names', ['Disabled', 'Lookup All TV', 'Lookup Re $page->smarty->assign('lookup_reqids_ids', array(0,1,2)); $page->smarty->assign('lookup_reqids_names', array('Disabled', 'Lookup Request IDs', 'Lookup Request IDs Threaded')); -// return a list of audiobooks, ebooks, technical and foreign books -$result = $page->settings->query("SELECT id, title FROM category WHERE id in (3030, 7010, 7040, 7060)"); +// return a list of audiobooks, mags, ebooks, technical and foreign books +$result = $page->settings->query("SELECT id, title FROM category WHERE id in (3030, 7010, 7020, 7040, 7060)"); // setup the display lists for these categories, this could have been static, but then if names changed they would be wrong $book_reqids_ids = array();