Module: appdb Branch: master Commit: 4c05f0518058592fc679a5cafb6133d6fc6e648b URL: http://source.winehq.org/git/appdb.git/?a=commit;h=4c05f0518058592fc679a5caf...
Author: Alexander Nicolaysen Sørnes alex@thehandofagony.com Date: Wed Oct 31 10:29:27 2007 +0100
bugs: fix mustBeQueued()
---
include/bugs.php | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/include/bugs.php b/include/bugs.php index 2a1c383..84020d3 100644 --- a/include/bugs.php +++ b/include/bugs.php @@ -300,7 +300,7 @@ class Bug { $oBug = new Bug($oRow->bug_id); $sReturn .= html_tr(array( - version::fullNameUrl($oRow->versionId), + version::fullNameLink($oRow->versionId), "<a href="".BUGZILLA_ROOT."show_bug.cgi?id=".$oRow->bug_id."">".$oRow->bug_id."</a>", $oBug->sBug_status, $oBug->sResolution, @@ -326,6 +326,8 @@ class Bug
function mustBeQueued() { + $oVersion = new version($this->iVersionId); + if($_SESSION['current']->hasPriv("admin") || $_SESSION['current']->isMaintainer($oVersion->iVersionId) || $_SESSION['current']->isSuperMaintainer($oVersion->iAppId))