summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-11 19:50:19 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-11 19:50:19 -0800
commit8a1199d2bd1fa79391e121e537181b63025efc76 (patch)
treea795c5991c4945f27b189164f961896d70a09f27 /python/fatcat_web/templates
parent9ca9ed84f0a404c3740a7ac33978bd9d6c6a0c4a (diff)
downloadfatcat-8a1199d2bd1fa79391e121e537181b63025efc76.tar.gz
fatcat-8a1199d2bd1fa79391e121e537181b63025efc76.zip
allow null release_refs (as opposed to empty list)
Diffstat (limited to 'python/fatcat_web/templates')
-rw-r--r--python/fatcat_web/templates/release_view.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html
index fd86b7c9..4e24b281 100644
--- a/python/fatcat_web/templates/release_view.html
+++ b/python/fatcat_web/templates/release_view.html
@@ -143,7 +143,7 @@ Raw Object:
{% endif %}
<br>
-{% if release.refs.size != 0 %}
+{% if release.refs != None and release.refs.size != 0 %}
<h3>References</h3>
This release citing other releases.
<ol>