diff --git a/include/bugs.php b/include/bugs.php index 79db0d2..2a1c383 100644 --- a/include/bugs.php +++ b/include/bugs.php @@ -498,8 +498,10 @@ class Bug function getOutputEditorValues($aClean) { - $this->iBug_id = $aClean['iBuglinkId']; - $this->iVersionId = $aClean['iVersionId']; + $this->iBug_id = $aClean['iBuglinkId']; + + if($aClean['iVersionId']) + $this->iVersionId = $aClean['iVersionId']; } }