From 9ed944d897ce6bda294f0abc8acf0d90b3ce4bd7 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Jul 2018 10:38:38 +0530 Subject: fixed tbc book category list display --- textbook_companion_fixer_edit_book_category.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/textbook_companion_fixer_edit_book_category.inc b/textbook_companion_fixer_edit_book_category.inc index ed04c8e..90156d0 100755 --- a/textbook_companion_fixer_edit_book_category.inc +++ b/textbook_companion_fixer_edit_book_category.inc @@ -247,7 +247,7 @@ function _tbc_fixer_list_of_category($category_id = NULL) } while ($category_list_data = $category_list->fetchObject()) { - $category[$category_list_data->category_id] = $category_list_data->category_name; + $category[$category_list_data->id] = $category_list_data->category_name; } //$category_list_data = $category_list->fetchObject() return $category; } -- cgit