diff options
| -rw-r--r-- | templates/mod/debug/sql.html | 8 |
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 %} |
