diff --git a/ChangeLog b/ChangeLog index 5aee06651..148c24294 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2004-07-08 Marc Delisle + * db_details_qbe.php: undefined offset and undefined variable + 2004-07-07 Marc Delisle * main.php: bug 984136, wrong alignment in RTL languages * lang/arabic-utf-8, lang/sync_lang.sh: bug 984176, wrong encoding diff --git a/db_details_qbe.php b/db_details_qbe.php index 51d18706c..87d5ed77b 100644 --- a/db_details_qbe.php +++ b/db_details_qbe.php @@ -55,45 +55,39 @@ if (!isset($Rows)) { $Rows = ''; } if (!isset($InsCol)) { - $InsCol = ''; + $InsCol = array(); } if (!isset($DelCol)) { - $DelCol = ''; + $DelCol = array(); } if (!isset($prev_Criteria)) { $prev_Criteria = ''; } -// workaround for a PHP3 problem if (!isset($Criteria)) { - //$Criteria = ''; $Criteria = array(); for ($i = 0; $i < $Columns; $i++) { $Criteria[$i] = ''; } } if (!isset($InsRow)) { -// $InsRow = ''; $InsRow = array(); for ($i = 0; $i < $Columns; $i++) { $InsRow[$i] = ''; } } if (!isset($DelRow)) { -// $DelRow = ''; $DelRow = array(); for ($i = 0; $i < $Columns; $i++) { $DelRow[$i] = ''; } } if (!isset($AndOrRow)) { -// $AndOrRow = ''; $AndOrRow = array(); for ($i = 0; $i < $Columns; $i++) { $AndOrRow[$i] = ''; } } if (!isset($AndOrCol)) { -// $AndOrCol = ''; $AndOrCol = array(); for ($i = 0; $i < $Columns; $i++) { $AndOrCol[$i] = ''; @@ -426,7 +420,7 @@ for ($y = 0; $y <= $row; $y++) { @@ -436,7 +430,7 @@ for ($y = 0; $y <= $row; $y++) {