summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrashant S2018-07-10 10:40:31 +0530
committerGitHub2018-07-10 10:40:31 +0530
commit877b01c758d6fb287440808ef798d91647bf5706 (patch)
tree891ee74ed9bef04fa431feffaaa0c23830bca39c
parent9dda37b535b04067a9d88577a42cafba03582874 (diff)
parent9ed944d897ce6bda294f0abc8acf0d90b3ce4bd7 (diff)
downloadtextbook_companion_fixer-877b01c758d6fb287440808ef798d91647bf5706.tar.gz
textbook_companion_fixer-877b01c758d6fb287440808ef798d91647bf5706.tar.bz2
textbook_companion_fixer-877b01c758d6fb287440808ef798d91647bf5706.zip
Merge pull request #5 from prashantsinalkar/drupal_7.x
fixed tbc book category list display
-rwxr-xr-xtextbook_companion_fixer_edit_book_category.inc2
1 files changed, 1 insertions, 1 deletions
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;
}