From 82803c8bb54cde80d17e895264847bb5e959ea5b Mon Sep 17 00:00:00 2001 From: Devops Date: Thu, 13 Apr 2017 11:06:51 +0100 Subject: [PATCH] lib/php/db/table.php --- lib/php/db/table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/php/db/table.php b/lib/php/db/table.php index 2de15f0c..66149207 100644 --- a/lib/php/db/table.php +++ b/lib/php/db/table.php @@ -1420,7 +1420,7 @@ Class Table extends nb { # NB 27.12.16 $this->__rows_table_keys = []; foreach ($fields as $name => $f) { $this->__rows_table_attr[$name] = '' - . ' class="' . $name . ($f->key?' key':'') . (isset($this->extras[$name])?' extra':'') . '"' + . ' class="' . $name . ($f->key?' key':'') . (isset($this->extras[$name])?' extra':'') . ' ' . preg_replace('/\W.*$/','',$f->type).'"' ; # NB 27.12.16 if ($f->key) $this->__rows_table_keys[] = $name; } -- 2.47.3