From dfda295859c4cb1e76d533341d09a7e4e280ba40 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Thu, 23 Jul 2009 17:13:55 +0000 Subject: [PATCH] Use original data for unique idf git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@888 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- adminer/select.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/select.inc.php b/adminer/select.inc.php index 153188c9..8831b8b0 100644 --- a/adminer/select.inc.php +++ b/adminer/select.inc.php @@ -301,7 +301,7 @@ if (!$columns) { } echo ($backward_keys ? "" . lang('Relations') : "") . "\n"; 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 '' . (count($select) != count($group) || information_schema($_GET["db"]) ? '' : ' ' . lang('edit') . ''); foreach ($row as $key => $val) { if (strlen($names[$key])) {