mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-03 03:38:52 +00:00
Fix another instance of site.
This commit is contained in:
@@ -152,7 +152,7 @@ $page->smarty->assign('book_reqids_ids', $book_reqids_ids);
|
||||
$page->smarty->assign('book_reqids_names', $book_reqids_names);
|
||||
|
||||
// convert from a list to an array as we need to use an array, but teh Settings table only saves strings
|
||||
$books_selected = explode(",", $page->site->book_reqids);
|
||||
$books_selected = explode(",", $page->settings->getSetting('book_reqids'));
|
||||
|
||||
// convert from a string array to an int array
|
||||
$books_selected = array_map(create_function('$value', 'return (int)$value;'), $books_selected);
|
||||
|
||||
Reference in New Issue
Block a user