appdb/. addcomment.php
WineHQ
wineowner at wine.codeweavers.com
Sun Apr 8 20:23:11 CDT 2007
ChangeSet ID: 31037
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner at winehq.org 2007/04/08 20:23:11
Modified files:
. : addcomment.php
Log message:
Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
addcomment.php, use version::objectMakeUrl()
Patch: http://cvs.winehq.org/patch.py?id=31037
Old revision New revision Changes Path
1.34 1.35 +2 -1 appdb/addcomment.php
Index: appdb/addcomment.php
diff -u -p appdb/addcomment.php:1.34 appdb/addcomment.php:1.35
--- appdb/addcomment.php:1.34 9 Apr 2007 1:23:11 -0000
+++ appdb/addcomment.php 9 Apr 2007 1:23:11 -0000
@@ -29,7 +29,8 @@ if(!empty($aClean['sBody']))
{
$oComment = new Comment();
$oComment->create($aClean['sSubject'], $aClean['sBody'], $aClean['iThread'], $aClean['iVersionId']);
- util_redirect_and_exit(apidb_fullurl("appview.php?iVersionId=".$oComment->iVersionId));
+ $oVersion = new version($oComment->iVersionId);
+ util_redirect_and_exit($oVersion->objectMakeUrl());
// let's show the comment form
} else
{
More information about the wine-cvs
mailing list