From c6cffd6ef979ae67bc33cec9fca85a6259b145c0 Mon Sep 17 00:00:00 2001 From: Jason Date: Wed, 20 May 2015 21:39:27 +0800 Subject: [PATCH] Fix database_tables.phtml Signed-off-by: Jason --- templates/designer/database_tables.phtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/designer/database_tables.phtml b/templates/designer/database_tables.phtml index 304b7abc98..bd4000844e 100755 --- a/templates/designer/database_tables.phtml +++ b/templates/designer/database_tables.phtml @@ -102,18 +102,18 @@ if (strstr($tab_column[$t_n]["TYPE"][$j], 'char') || strstr($tab_column[$t_n]["TYPE"][$j], 'text') ) { - $type = '_char'; + $type .= '_char'; } elseif (strstr($tab_column[$t_n]["TYPE"][$j], 'int') || strstr($tab_column[$t_n]["TYPE"][$j], 'float') || strstr($tab_column[$t_n]["TYPE"][$j], 'double') || strstr($tab_column[$t_n]["TYPE"][$j], 'decimal') ) { - $type = '_int'; + $type .= '_int'; } elseif (strstr($tab_column[$t_n]["TYPE"][$j], 'date') || strstr($tab_column[$t_n]["TYPE"][$j], 'time') || strstr($tab_column[$t_n]["TYPE"][$j], 'year') ) { - $type = '_date'; + $type .= '_date'; } ?> *