Hi!
Thank you for yout solution. It's really good job.
But i found error when deleting item has children:
Message: Undefined variable: table
Filename: models/hierarchy_model.php
Line Number: 318
Error Number: 1102
Incorrect database name ' ON '
SELECT * FROM (`hierarchy`) JOIN ` ON `.`hierarchy_id` = `hierarchy`.`hierarchy_id` WHERE `parent_id` = '17' ORDER BY `hierarchy_order` DESC LIMIT 1
Filename: ..../models/hierarchy_model.php
Line Number: 847
There are no error when deleting item doesn't has children items.
Hi! Thank you for yout solution. It's really good job. But i found error when deleting item has children:
There are no error when deleting item doesn't has children items.