appdb/include bugs.php

WineHQ wineowner at wine.codeweavers.com
Fri Sep 7 23:42:34 CDT 2007


ChangeSet ID:	31359
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/09/07 23:42:34

Modified files:
	include        : bugs.php 

Log message:
	Tony Lambregts <tony.lambregts at gmail.com>
	bug::objectGetTableRow() should reference $this and not the non-existant $oRow. Fixes bug where
	buglink urls are broken due to a missing bug id.

Patch: http://cvs.winehq.org/patch.py?id=31359

Old revision  New revision  Changes     Path
 1.30          1.31          +1 -1       appdb/include/bugs.php

Index: appdb/include/bugs.php
diff -u -p appdb/include/bugs.php:1.30 appdb/include/bugs.php:1.31
--- appdb/include/bugs.php:1.30	8 Sep 2007  4:42:34 -0000
+++ appdb/include/bugs.php	8 Sep 2007  4:42:34 -0000
@@ -394,7 +394,7 @@ class Bug
 
         $oTableCell = new TableCell($this->iBug_id);
         $oTableCell->SetAlign("center");
-        $oTableCell->SetCellLink(BUGZILLA_ROOT.'show_bug.cgi?id='.$oRow->bug_id);
+        $oTableCell->SetCellLink(BUGZILLA_ROOT.'show_bug.cgi?id='.$this->iBug_id);
         $oTableRow->AddCell($oTableCell);
 
         $oTableCell = new TableCell($this->sBug_status);



More information about the wine-cvs mailing list