Set $unique_idf before use

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@282 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana 2007-07-28 20:11:48 +00:00
parent 16e06e2c99
commit b5ffc73bd2

View 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)) {