summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/mod/debug/sql.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/mod/debug/sql.html b/templates/mod/debug/sql.html
index 755995f9..249d05e3 100644
--- a/templates/mod/debug/sql.html
+++ b/templates/mod/debug/sql.html
@@ -16,7 +16,13 @@
{% for row in result %}
<tr>
{% for col in row %}
- <td>{{ col | e }}</td>
+ <td>
+ {% if col != null %}
+ {{ col | e }}
+ {% else %}
+ <em>NULL</em>
+ {% endif %}
+ </td>
{% endfor %}
</tr>
{% endfor %}