diff options
author | prashantsinalkar | 2018-06-12 16:19:11 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-06-12 16:19:11 +0530 |
commit | 90f2d983e1e5613a9d11f64a41418a70c2cfb951 (patch) | |
tree | c29d548f4c9093d7aa11c48a5639a53eaa6daccd | |
parent | 017266777aa01e8713103b79e8b37805da9f2f38 (diff) | |
download | textbook_companion_fixer-90f2d983e1e5613a9d11f64a41418a70c2cfb951.tar.gz textbook_companion_fixer-90f2d983e1e5613a9d11f64a41418a70c2cfb951.tar.bz2 textbook_companion_fixer-90f2d983e1e5613a9d11f64a41418a70c2cfb951.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(); } |