]> git.joonet.de Git - adminer.git/commitdiff
Set $unique_idf before use
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Sat, 28 Jul 2007 20:11:48 +0000 (20:11 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Sat, 28 Jul 2007 20:11:48 +0000 (20:11 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@282 7c3ca157-0c34-0410-bff1-cbf682f78f5c

select.inc.php

index a7a6a42c56d0088b0f15008fd49e7880c149b23c..4d7af1f474a5cb57af555933b7e5c23631c339d4 100644 (file)
@@ -143,8 +143,8 @@ function add_row(field) {
                        if (!$j) {
                                echo "<thead><tr><th>&nbsp;</th><th>" . implode("</th><th>", array_map('htmlspecialchars', array_keys($row))) . "</th></tr></thead>\n";
                        }
-                       echo '<tr><td><a href="' . htmlspecialchars($SELF) . 'edit=' . urlencode($_GET['select']) . $unique_idf . '">' . lang('edit') . "</a></td>";
                        $unique_idf = '&amp;' . implode('&amp;', unique_idf($row, $indexes));
+                       echo '<tr><td><a href="' . htmlspecialchars($SELF) . 'edit=' . urlencode($_GET['select']) . $unique_idf . '">' . lang('edit') . "</a></td>";
                        //! multiple delete by checkboxes
                        foreach ($row as $key => $val) {
                                if (!isset($val)) {