Page 2 of 2

Re: Category Deletion

PostPosted: Thu Feb 14, 2013 12:48 pm
by leo
Try Brent's fix:
Code: Select all
   function delete_subcats($path){
      $sql = "delete category, category_description from category left join category_description on category.category_id = category_description.category_id where category.path like '?'";
      $this->database->query($this->database->parse($sql, $path . '\_%'));
   }

in /admin/model/products/model_admin_category.php

Re: Category Deletion

PostPosted: Thu Feb 14, 2013 12:55 pm
by Bluesplayer
Working :D .

I hope you are updating the script with all these changes?

I am your unqualified bug hunter and script tester / alterer 8-) .

Well done.

Thanks

Re: Category Deletion

PostPosted: Thu Feb 14, 2013 1:13 pm
by leo
Thanks for the bug report.
We add a patch file to the download of the stable version. So, everybody can get rid of this issues.