Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLakshay arora <arora.lakshya123@gmail.com>2018-06-20 12:39:07 +0300
committerMaurĂ­cio Meneghini Fauth <mauriciofauth@gmail.com>2018-07-04 02:13:08 +0300
commit303cc9c1a006b974c5f7c5b754c6e7524ee1085a (patch)
tree7defad7cdb8b31a8edc27f6b8b53cd6eebfd7e08 /templates
parentfc5586fb6ac9ad579925c5895c9975967514ad12 (diff)
Fix NULL as default not shown, #14333
Signed-Off-By: Lakshay arora <arora.lakshya123@gmail.com> (cherry picked from commit 39f19fd20f56a66991ca65b82b3fdb17dd006242) Signed-off-by: MaurĂ­cio Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/table/structure/display_structure.twig2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/table/structure/display_structure.twig b/templates/table/structure/display_structure.twig
index 873c2be091..aef31cdbd9 100644
--- a/templates/table/structure/display_structure.twig
+++ b/templates/table/structure/display_structure.twig
@@ -33,7 +33,7 @@
{% set attribute = 'on update CURRENT_TIMESTAMP' %}
{% endif %}
- {% if row['Default'] is not defined %}
+ {% if row['Default'] is null %}
{% if row['Null'] == 'YES' %}
{% set row = row|merge({'Default': '<em>NULL</em>'}) %}
{% endif %}