Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
delete keywords category and keywords
#2
(02-13-2013, 09:15 PM)kien.quan Wrote: letoDMS-3.4.2

Try to delete keywords category and keywords got "An error has occured"

After looking through the code found 2 problems from op.UserDefaultKeywords.php

$categoryid = intval($_POST["categoryid"]) should be $categoryid = intval($_GET["categoryid"]);

here is the patch

57c57
< $categoryid = intval($_POST["categoryid"]);
---
> $categoryid = intval($_GET["categoryid"]);
164c164
< $categoryid = intval($_POST["categoryid"]);
---
> $categoryid = intval($_GET["categoryid"]);

There were actually more issues. I've fixed them. 3.4.3 will have them.
You can get new versions of letodms at www.seeddms.org

Thanks for reporting

Uwe
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: