[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-patches
Subject: [AppDB] bug: Fix mustBeQueued()
From: Alexander Nicolaysen =?iso-8859-1?q?S=F8rnes?= <alex () thehandofagony ! com>
Date: 2007-10-31 9:30:09
Message-ID: 200710311030.10069.alex () thehandofagony ! com
[Download RAW message or body]
The two changes in the patch are related.
Alexander N. S=F8rnes
["0002-bugs-fix-mustBeQueued.patch" (text/x-diff)]
From 37f7719dd4926b5f6cce04eb01855b336ad99521 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= <alex@thehandofagony.com>
Date: Wed, 31 Oct 2007 10:29:27 +0100
Subject: [PATCH] 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))
--
1.5.2.5
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic