Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug fix for faulty redirect when deleting a KB article
I found another bug to fix. When you try to delete a KB article, the redirect fails. Below we will take out the portion of code that makes the page redirect because its not needed. For some reason it doesn't work with it in and it works fine with it out. My guess is that it was supposed to redirect you to avoid unnecessary MySQL queries for deleting the one that was already deleted. Also, deleting a category does that as well, so we'll fix that while we're at it.

In /admin/pages/kb.php

PHP Code:

PHP Code:

Do this for both references in the file. It only occurs two times in the file, so you can do a replace all if you'd like.
See my GitHub at

Forum Jump:

Users browsing this thread: 1 Guest(s)