panigrc / SimpleCiShop

A simple ecommerce system based on codeigniter [Moved to Codeberg]
https://codeberg.org/nik.lol/SimpleCiShop
MIT License
14 stars 14 forks source link

Exact same methods in Category_model #41

Closed panigrc closed 4 years ago

panigrc commented 4 years ago

The Methods Category_model::get_all_category_ids_recursive() and Category_model::get_category_children() are exactly the same. The later should be changed in order to deliver only the children directly under the specified category and not recursively as the first method.