1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-15 19:13:59 +02:00

Distinguish no column order in fieldName

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@955 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2009-07-31 09:43:53 +00:00
parent 5be15059e7
commit 23df820f59
2 changed files with 3 additions and 3 deletions

View File

@@ -29,8 +29,8 @@ function adminer_object() {
}
function fieldName($field, $order = 0) {
// only first five columns with comments will be displayed
return ($order < 5 ? h($field["comment"]) : "");
// only columns with comments will be displayed and only the first five in select
return ($order <= 5 ? h($field["comment"]) : "");
}
}