summaryrefslogtreecommitdiffstats
path: root/web/html/pkgmerge.php
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-10-03 11:28:04 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-10-03 11:28:04 +0200
commit90e96e3728b727f2318fb119a2ca165e81b11608 (patch)
treed11bef16517c01df9e6b941baa0f53e9c6c36d44 /web/html/pkgmerge.php
parentd0f8b285e4b87743bc6795dac6a7b4875649aed6 (diff)
downloadaur-90e96e3728b727f2318fb119a2ca165e81b11608.tar.gz
aur-90e96e3728b727f2318fb119a2ca165e81b11608.tar.xz
Redirect to details pages after performing actions
After performing a package base action on a separate page, return to the corresponding package base details page. Partly fixes FS#46545. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html/pkgmerge.php')
-rw-r--r--web/html/pkgmerge.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/pkgmerge.php b/web/html/pkgmerge.php
index f6e951b5..35113902 100644
--- a/web/html/pkgmerge.php
+++ b/web/html/pkgmerge.php
@@ -28,7 +28,7 @@ if (has_credential(CRED_PKGBASE_DELETE)): ?>
<?= __('Enter the package name you wish to merge the package into. '); ?>
<?= __('Select the checkbox to confirm action.') ?>
</p>
- <form action="<?= get_uri('/pkgbase/'); ?>" method="post">
+ <form action="<?= get_pkgbase_uri($pkgbase_name); ?>" method="post">
<fieldset>
<input type="hidden" name="IDs[<?= $base_id ?>]" value="1" />
<input type="hidden" name="ID" value="<?= $base_id ?>" />