webERP Forum
SalesCategories gets back to root-category after edit - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (/forumdisplay.php?fid=8)
+--- Thread: SalesCategories gets back to root-category after edit (/showthread.php?tid=2718)



SalesCategories gets back to root-category after edit - janb - 02-28-2016 11:47 PM

In SalesCategories.php after Line 371 there should be a hidden input line setting the current ParentCategory value like this:

Code:
<input type="hidden" name="ParentCategory" value="' . (isset($_POST['ParentCategory'])?($_POST['ParentCategory']):('0')) . '" />