Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
delete keywords category and keywords
#1

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"]);

Reply
#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
#3
Just a quick update LetoDMS is not seeddms we are Letodms but SeedDMS team a creating a new fork we are still original LetoDMS our name is not changing

Uwe please fix you signature

Thanks

LetoDMS
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)