last changes from Mike Beck
This commit is contained in:
@@ -9,6 +9,7 @@ $Source$
|
||||
* tbl_properties.php3, tbl_properties_links.php3,
|
||||
new tbl_properties_structure, lang/*.php3: Structure page
|
||||
(todo: - stay on the sub-pages as long as needed)
|
||||
* tbl_qbe.php3: last changes from Mike Beck
|
||||
|
||||
2002-05-01 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* tbl_properties.php3; tbl_properties_table_info.php3: comments.
|
||||
|
@@ -799,7 +799,7 @@ if (isset($Field) && count($Field) > 0) {
|
||||
reset($wheretabs);
|
||||
} // end while
|
||||
|
||||
if ($master != '') {
|
||||
if (isset ($master) && $master != '') {
|
||||
$qry_from = PMA_backquote($master);
|
||||
|
||||
// now we want one Array that has all tablenames but master
|
||||
@@ -841,7 +841,7 @@ if (isset($Field) && count($Field) > 0) {
|
||||
} // end if
|
||||
|
||||
while (list($key, $varr) = each($rel)) {
|
||||
if ($varr['link'] == '') {
|
||||
if (!isset($varr['link']) || $varr['link'] == '') {
|
||||
$rest[] = $key;
|
||||
} else {
|
||||
$found[] = $key;
|
||||
@@ -902,9 +902,7 @@ if (isset($Field) && count($Field) > 0) {
|
||||
// can't find why this happened i check this now:
|
||||
$qry_from = ereg_replace(', $', '', $qry_from);
|
||||
$qry_from .= $ljm . $lj;
|
||||
|
||||
} // end if ($master != '')
|
||||
|
||||
} // end rel work and $alltabs > 0
|
||||
|
||||
if (empty($qry_from) && count($alltabs)) {
|
||||
|
Reference in New Issue
Block a user