summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/templatetags/package_extras.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/templatetags/package_extras.py b/packages/templatetags/package_extras.py
index f3613e69..f14fab1e 100644
--- a/packages/templatetags/package_extras.py
+++ b/packages/templatetags/package_extras.py
@@ -63,7 +63,7 @@ def do_buildsortqs(parser, token):
@register.simple_tag
def pkg_details_link(pkg, link_title=None):
if not pkg:
- return ''
+ return link_title or ''
if link_title is None:
link_title = pkg.pkgname
link = '<a href="%s" title="View package details for %s">%s</a>'