Browse Source

debug/sql: show "NULL" for null columns

pull/40/head
Michael Foster 11 years ago
parent
commit
2fae55c094
  1. 8
      templates/mod/debug/sql.html

8
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 %}

Loading…
Cancel
Save