From 79b60c7347bcc99f89af8d9b414e450f6e145b3f Mon Sep 17 00:00:00 2001 From: DariusIII Date: Tue, 9 Jun 2015 02:38:07 +0200 Subject: [PATCH] Fix another instance of site. --- www/admin/site-edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/admin/site-edit.php b/www/admin/site-edit.php index e282278bf..6053c3504 100644 --- a/www/admin/site-edit.php +++ b/www/admin/site-edit.php @@ -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);