appdb/include bugs.php
WineHQ
wineowner at wine.codeweavers.com
Mon Apr 23 18:37:31 CDT 2007
ChangeSet ID: 31095
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner at winehq.org 2007/04/23 18:37:30
Modified files:
include : bugs.php
Log message:
Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Fix bug link creation email. We only need to fetch the link id so remove the other code that
was resulting in missing values.
Patch: http://cvs.winehq.org/patch.py?id=31095
Old revision New revision Changes Path
1.23 1.24 +1 -14 appdb/include/bugs.php
Index: appdb/include/bugs.php
diff -u -p appdb/include/bugs.php:1.23 appdb/include/bugs.php:1.24
--- appdb/include/bugs.php:1.23 23 Apr 2007 23:37:30 -0000
+++ appdb/include/bugs.php 23 Apr 2007 23:37:30 -0000
@@ -127,23 +127,10 @@ class Bug {
$_SESSION['current']->iUserId);
if($hResult)
{
- /* The following should work but it does not! */
$this->iLinkId = mysql_insert_id();
- $this->bug($this->iLinkId);
- /* Start of hack to get around the previous not working */
- $sQuery = "SELECT buglinks.*, appVersion.appId AS appId
- FROM buglinks, appVersion
- WHERE buglinks.versionId = appVersion.versionId
- AND buglinks.versionId = '?'
- AND buglinks.bug_id = '?'";
- if($hResult = query_parameters($sQuery, $this->iVersionId, $this->iBug_id))
- {
- $oRow = mysql_fetch_object($hResult);
- $this->bug($oRow->linkId);
- }
- /*End of Hack */
$this->SendNotificationMail();
+
return true;
} else
{
More information about the wine-cvs
mailing list