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 %} {% for col in row %} - {{ col | e }} + + {% if col != null %} + {{ col | e }} + {% else %} + NULL + {% endif %} + {% endfor %} {% endfor %}