LetoDMS Community Forum
delete keywords category and keywords - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Bugs/Errors (https://community.letodms.com/forumdisplay.php?fid=11)
+---- Forum: (Solved) Bugs/Errors (https://community.letodms.com/forumdisplay.php?fid=22)
+---- Thread: delete keywords category and keywords (/showthread.php?tid=645)



delete keywords category and keywords - kien.quan - 02-13-2013


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




RE: delete keywords category and keywords - steinm - 02-13-2013

(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


RE: delete keywords category and keywords - administrator - 02-14-2013

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