mirror of
https://github.com/Circlepuller/Tinyboard.git
synced 2025-04-05 06:52:23 +02:00
debug/sql: show "NULL" for null columns
This commit is contained in:
parent
4ec50aad80
commit
2fae55c094
@ -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…
x
Reference in New Issue
Block a user