mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 09:34:10 +02:00
$columns variable is used only in optionlist
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@813 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -13,7 +13,7 @@ $columns = array(); // selectable columns
|
|||||||
unset($text_length);
|
unset($text_length);
|
||||||
foreach ($fields as $key => $field) {
|
foreach ($fields as $key => $field) {
|
||||||
if (isset($field["privileges"]["select"])) {
|
if (isset($field["privileges"]["select"])) {
|
||||||
$columns[$key] = strip_tags(adminer_field_name($fields, $key)); //! numeric $key is problematic in optionlist()
|
$columns[$key] = html_entity_decode(strip_tags(adminer_field_name($fields, $key))); //! numeric $key is problematic in optionlist()
|
||||||
if (ereg('text|blob', $field["type"])) {
|
if (ereg('text|blob', $field["type"])) {
|
||||||
$text_length = (isset($_GET["text_length"]) ? $_GET["text_length"] : "100");
|
$text_length = (isset($_GET["text_length"]) ? $_GET["text_length"] : "100");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user