Set description to empty string for NULL value
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1165 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
c3c32d3513
commit
b7ac2c06e4
|
@ -126,7 +126,9 @@ ORDER BY ORDINAL_POSITION");
|
||||||
}
|
}
|
||||||
// use the descriptions
|
// use the descriptions
|
||||||
foreach ($rows as $n => $row) {
|
foreach ($rows as $n => $row) {
|
||||||
$return[$n][$key] = $descriptions[$row[$key]];
|
if (isset($row[$key])) {
|
||||||
|
$return[$n][$key] = (string) $descriptions[$row[$key]];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue