mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
pass $content to controller, not $latestContent
$latestContent and $content are different objects. If $latestContent is passed to the controller, its status will be updated in the object but $content has still the old status. Getting the status later on from $content, still returns the old content.
This commit is contained in:
parent
6e37e1ded6
commit
d6e10dddd6
|
@ -94,7 +94,7 @@ if($_FILES["reviewfile"]["tmp_name"]) {
|
|||
}
|
||||
|
||||
$controller->setParam('document', $document);
|
||||
$controller->setParam('content', $latestContent);
|
||||
$controller->setParam('content', $content);
|
||||
$controller->setParam('reviewstatus', $_POST["reviewStatus"]);
|
||||
$controller->setParam('reviewtype', $_POST["reviewType"]);
|
||||
if ($_POST["reviewType"] == "grp") {
|
||||
|
|
Loading…
Reference in New Issue
Block a user