diff options
author | Pascal Terjan <pterjan@mageia.org> | 2020-11-25 22:03:39 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2020-11-25 22:03:39 +0000 |
commit | 559dfef8918fb9902e030897104c851fd32216c3 (patch) | |
tree | 19a85567ba6a8fdf2ba2ae3da1bc784bc85b0040 /index.php | |
parent | 9eb8eb4a270de3a83851597d79a0f8cb7c4fcf62 (diff) | |
download | pkgsubmit-559dfef8918fb9902e030897104c851fd32216c3.tar pkgsubmit-559dfef8918fb9902e030897104c851fd32216c3.tar.gz pkgsubmit-559dfef8918fb9902e030897104c851fd32216c3.tar.bz2 pkgsubmit-559dfef8918fb9902e030897104c851fd32216c3.tar.xz pkgsubmit-559dfef8918fb9902e030897104c851fd32216c3.zip |
Do not link to revision 0 in svn when package is not from svn
This happen when submitting for secondary architecture from src.rpm
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -143,7 +143,7 @@ if ($total > 0) { if (trim($p['package']) == '') { continue; } - $revision_link = sprintf($package_commit_url, $p['revision']); + $revision_link = $p['revision'] ? sprintf($package_commit_url, $p['revision']) : ''; $s .= sprintf($tmpl, $p['type'], |