Alexander Nicolaysen Sørnes : Fix return page when processing bugs from the version view

Chris Morgan cmorgan at winehq.org
Sun Oct 21 12:12:42 CDT 2007


Module: appdb
Branch: master
Commit: fb2c29e4ee446fa5c0265c72bdc4a7b330e5c538
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=fb2c29e4ee446fa5c0265c72bdc4a7b330e5c538

Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date:   Thu Oct 18 10:46:57 2007 +0200

Fix return page when processing bugs from the version view

---

 include/bugs.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/bugs.php b/include/bugs.php
index 6e28be0..79db0d2 100644
--- a/include/bugs.php
+++ b/include/bugs.php
@@ -574,7 +574,7 @@ function view_version_bugs($iVersionId = null, $aBuglinkIds)
                 echo "<td align=center>[<a href='".$oM->makeUrl("delete", $oBuglink->iLinkId)."&sSubmit=delete'>delete</a>]</td>\n";
                 if ($oBuglink->bQueued)
                 {
-                    echo "<td align=center>[<a href='objectManager.php?sClass=bug&iId=".$oBuglink->iLinkId."&sAction=edit&sSubmit=Submit&bIsQueue=true&sReturnTo=".$oVersion->objectMakeUrl()."'>OK</a>]</td>\n";
+                    echo "<td align=center>[<a href='".$oM->makeUrl("edit", $oBuglink->iLinkId)."&sSubmit=Submit&bIsQueue=true'>OK</a>]</td>\n";
                 } else
                 {
                     echo "<td align=center>Yes</td>\n";




More information about the wine-cvs mailing list