Prevent ids getting lost during editing
This commit is contained in:
committed by
Chris Morgan
parent
3a25c64333
commit
16d212c552
@@ -200,7 +200,9 @@ class Comment {
|
||||
$this->sSubject = $aClean['sSubject'];
|
||||
$this->sBody = $aClean['sBody'];
|
||||
$this->iParentId = $aClean['iThread'];
|
||||
$this->iVersionId = $aClean['iVersionId'];
|
||||
|
||||
if($aClean['iVersionId'])
|
||||
$this->iVersionId = $aClean['iVersionId'];
|
||||
|
||||
if(!$this->oOwner)
|
||||
$this->oOwner = $_SESSION['current'];
|
||||
|
||||
Reference in New Issue
Block a user