uninitialized vars (PHP3)
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2001-08-02 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* tbl_qbe.php3: workaround a PHP3 problem
|
||||
|
||||
2001-08-02 Benjamin Gandon <gandon@isia.cma.fr>
|
||||
* Documentation.html: added a FAQ entry about the buggy php
|
||||
package still available for RedHat 7.0
|
||||
|
26
tbl_qbe.php3
26
tbl_qbe.php3
@@ -51,7 +51,7 @@ if (!isset($DelCol)) {
|
||||
if (!isset($prev_Criteria)) {
|
||||
$prev_Criteria = '';
|
||||
}
|
||||
// test for a PHP3 problem, to be confirmed:
|
||||
// workaround for a PHP3 problem
|
||||
if (!isset($Criteria)) {
|
||||
//$Criteria = '';
|
||||
$Criteria = array();
|
||||
@@ -60,16 +60,32 @@ if (!isset($Criteria)) {
|
||||
}
|
||||
}
|
||||
if (!isset($InsRow)) {
|
||||
$InsRow = '';
|
||||
// $InsRow = '';
|
||||
$InsRow = array();
|
||||
for ($i=0; $i<$Columns; $i++) {
|
||||
$InsRow[$i]='';
|
||||
}
|
||||
}
|
||||
if (!isset($DelRow)) {
|
||||
$DelRow = '';
|
||||
// $DelRow = '';
|
||||
$DelRow = array();
|
||||
for ($i=0; $i<$Columns; $i++) {
|
||||
$DelRow[$i]='';
|
||||
}
|
||||
}
|
||||
if (!isset($AndOrRow)) {
|
||||
$AndOrRow = '';
|
||||
// $AndOrRow = '';
|
||||
$AndOrRow = array();
|
||||
for ($i=0; $i<$Columns; $i++) {
|
||||
$AndOrRow[$i]='';
|
||||
}
|
||||
}
|
||||
if (!isset($AndOrCol)) {
|
||||
$AndOrCol = '';
|
||||
// $AndOrCol = '';
|
||||
$AndOrCol = array();
|
||||
for ($i=0; $i<$Columns; $i++) {
|
||||
$AndOrCol[$i]='';
|
||||
}
|
||||
}
|
||||
$wid = 12;
|
||||
$widem = $wid . 'em';
|
||||
|
Reference in New Issue
Block a user