summaryrefslogtreecommitdiff
path: root/ishtar_common/views_item.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/views_item.py')
-rw-r--r--ishtar_common/views_item.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/views_item.py b/ishtar_common/views_item.py
index 3aba5bb9a..88cd70b43 100644
--- a/ishtar_common/views_item.py
+++ b/ishtar_common/views_item.py
@@ -366,7 +366,7 @@ def _get_values(request, val):
if callable(v):
v = v()
try:
- if hasattr(v, 'url'):
+ if hasattr(v, 'url') and v.url:
v = (request.is_secure() and
'https' or 'http') + '://' + request.get_host() + v.url
except ValueError: