diff options
author | prashantsinalkar | 2018-06-12 16:19:11 +0530 |
---|---|---|
committer | prashantsinalkar | 2019-09-01 22:13:11 +0530 |
commit | 2b157be8a005704e417895f7b06925bc4184ad1c (patch) | |
tree | 63201270a55b5c554f9ddcfca04d45fdaee294c8 | |
parent | a462834e913c3edd9bdad525a665af21bf831576 (diff) | |
download | r_tbc_fixer-2b157be8a005704e417895f7b06925bc4184ad1c.tar.gz r_tbc_fixer-2b157be8a005704e417895f7b06925bc4184ad1c.tar.bz2 r_tbc_fixer-2b157be8a005704e417895f7b06925bc4184ad1c.zip |
fixed categoery id
-rwxr-xr-x[-rw-r--r--] | textbook_companion_fixer_edit_book_category.inc | 2 |
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 e54e009..ed04c8e 100644..100755 --- a/textbook_companion_fixer_edit_book_category.inc +++ b/textbook_companion_fixer_edit_book_category.inc @@ -241,7 +241,7 @@ function _tbc_fixer_list_of_category($category_id = NULL) { $query = db_select('list_of_category'); $query->fields('list_of_category'); - $query->condition('category_id', $category_id); + $query->condition('id', $category_id); $query->orderBy('id', 'ASC'); $category_list = $query->execute(); } |