summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 1bf8329..7ee82ff 100644
--- a/index.php
+++ b/index.php
@@ -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'],