1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-11-08 03:28:19 +03:00

Prohibit php notice

This commit is contained in:
Marcel Tschopp
2004-04-16 18:56:34 +00:00
parent 596fbef915
commit f0e765375d

View File

@@ -281,7 +281,9 @@ function PMA_DBI_num_fields($result) {
function PMA_DBI_field_len($result, $i) {
$info = mysqli_fetch_field_direct($result, $i);
return $info->length;
// stdClass::$length will be integrated in
// mysqli-ext when mysql4.1 has been released.
return @$info->length;
}
function PMA_DBI_field_name($result, $i) {