diff --git a/ChangeLog b/ChangeLog index 750c708ee..6d1f06a49 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,8 +8,9 @@ $Source$ 2002-11-07 Alexander M. Turek * libraries/config_import.lib.php3: Fixed a small inconsistance. * config.inc.php3: Added a note about bug #634931. - * tbl_properties_operations.php3: Fixed bug #628581 (Check referential - integrity and NULL foreign key). + * tbl_properties_operations.php3: + - Fixed bug #628581 (Check referential integrity and NULL foreign key). + - Fixed bug #628583 (Check referential integrity and self-linked table). 2002-11-06 Alexander M. Turek * translators.html, lang/*.inc.php3: Fixed some typos. diff --git a/tbl_properties_operations.php3 b/tbl_properties_operations.php3 index b2d206d40..c2939aaa4 100755 --- a/tbl_properties_operations.php3 +++ b/tbl_properties_operations.php3 @@ -308,21 +308,31 @@ if ($cfgRelation['relwork']) { ' . $master . ' -> ' . $arr['foreign_table'] . '.' . $arr['foreign_field'] . '
' . "\n"; + unset($foreign_table); + unset($join_query); } // end while ?>