From cec8f1b0941595ea7673fa990b3291fd564220c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 14 Dec 2011 09:56:02 +0100 Subject: [PATCH] Add actually some sane value to field flags --- libraries/dbi/mysql.dbi.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/dbi/mysql.dbi.lib.php b/libraries/dbi/mysql.dbi.lib.php index 96b69338d..408f6a3b3 100644 --- a/libraries/dbi/mysql.dbi.lib.php +++ b/libraries/dbi/mysql.dbi.lib.php @@ -435,7 +435,7 @@ function PMA_DBI_get_fields_meta($result) $num_fields = mysql_num_fields($result); for ($i = 0; $i < $num_fields; $i++) { $field = mysql_fetch_field($result, $i); - $field->flags = ''; + $field->flags = mysql_field_flags($result, $i); $fields[] = $field; } return $fields;