Signed-off-by: Lukas Fleischer <[email protected]>
---
 web/html/pkgsubmit.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index 1075620..180a0b2 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -404,7 +404,7 @@ if ($uid):
 
                        end_atomic_commit();
 
-                       header('Location: ' . get_pkg_uri($pi[0]['pkgname']));
+                       header('Location: ' . 
get_pkgbase_uri($pkgbase_info['pkgbase']));
                }
 
                chdir($cwd);
-- 
1.9.2

Reply via email to