Use original data for unique idf
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@888 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
90b8a2f927
commit
dfda295859
|
@ -301,7 +301,7 @@ if (!$columns) {
|
||||||
}
|
}
|
||||||
echo ($backward_keys ? "<th>" . lang('Relations') : "") . "</thead>\n";
|
echo ($backward_keys ? "<th>" . lang('Relations') : "") . "</thead>\n";
|
||||||
foreach ($descriptions as $n => $row) {
|
foreach ($descriptions as $n => $row) {
|
||||||
$unique_idf = implode('&', unique_idf($row, $indexes)); //! don't use aggregation functions
|
$unique_idf = implode('&', unique_idf($rows[$n], $indexes)); //! don't use aggregation functions
|
||||||
echo '<tr' . odd() . '><td><input type="checkbox" name="check[]" value="' . $unique_idf . '" onclick="this.form[\'all\'].checked = false; form_uncheck(\'all-page\');">' . (count($select) != count($group) || information_schema($_GET["db"]) ? '' : ' <a href="' . htmlspecialchars($SELF) . 'edit=' . urlencode($_GET['select']) . '&' . $unique_idf . '">' . lang('edit') . '</a>');
|
echo '<tr' . odd() . '><td><input type="checkbox" name="check[]" value="' . $unique_idf . '" onclick="this.form[\'all\'].checked = false; form_uncheck(\'all-page\');">' . (count($select) != count($group) || information_schema($_GET["db"]) ? '' : ' <a href="' . htmlspecialchars($SELF) . 'edit=' . urlencode($_GET['select']) . '&' . $unique_idf . '">' . lang('edit') . '</a>');
|
||||||
foreach ($row as $key => $val) {
|
foreach ($row as $key => $val) {
|
||||||
if (strlen($names[$key])) {
|
if (strlen($names[$key])) {
|
||||||
|
|
Loading…
Reference in a new issue