Fix moving versions by having the move version form update the internal version variable and then call the
Version::update() method to perform the update.
This commit is contained in:
committed by
WineHQ
parent
b858e2ba53
commit
beed29012e
@@ -22,7 +22,8 @@ if(!empty($aClean['sAction']))
|
||||
{
|
||||
/* move this version to the given application */
|
||||
$oVersion = new Version($aClean['iVersionId']);
|
||||
$oVersion->update(null, null, null, null, $aClean['iAppId']);
|
||||
$oVersion->iAppId = $aClean['iAppId'];
|
||||
$oVersion->update();
|
||||
|
||||
/* redirect to the application we just moved this version to */
|
||||
util_redirect_and_exit(apidb_fullurl("appview.php?iAppId=".$aClean['iAppId']));
|
||||
|
||||
Reference in New Issue
Block a user