Create fake flags field
The content is empty for now, but at least the code will not emit warnings on every access to it (which is quite often). The proper value calculation should be added later.
This commit is contained in:
parent
ea64f8f731
commit
a074b4c6e2
@ -434,7 +434,9 @@ function PMA_DBI_get_fields_meta($result)
|
||||
$fields = array();
|
||||
$num_fields = mysql_num_fields($result);
|
||||
for ($i = 0; $i < $num_fields; $i++) {
|
||||
$fields[] = mysql_fetch_field($result, $i);
|
||||
$field = mysql_fetch_field($result, $i);
|
||||
$field->flags = '';
|
||||
$fields[] = $field;
|
||||
}
|
||||
return $fields;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user