Alexander Nicolaysen Sørnes : bug: Prevent ids getting lost during form processing
Chris Morgan
cmorgan at winehq.org
Wed Oct 24 20:19:24 CDT 2007
Module: appdb
Branch: master
Commit: 3edd18c101707f8e705d27d05e3bf1a53b4f1f2b
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=3edd18c101707f8e705d27d05e3bf1a53b4f1f2b
Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date: Wed Oct 24 10:46:20 2007 +0200
bug: Prevent ids getting lost during form processing
---
include/bugs.php | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
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'];
}
}
More information about the wine-cvs
mailing list