From 57b05023ed65aec59c01a93f5e29a244d44aa43e Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Tue, 26 Sep 2006 02:09:26 +0000 Subject: [PATCH] Version::aBuglinkIds doesn't exist anymore, retrieve buglink ids with Version::get_buglink_ids() and use the returned ids in Version::delete() in place of the class variable that no longer exists --- include/version.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/version.php b/include/version.php index bce5598..726efde 100644 --- a/include/version.php +++ b/include/version.php @@ -251,9 +251,8 @@ class Version { $oUrl->delete($bSilent); } - - - foreach($this->aBuglinkIds as $iBug_id) + $aBuglinkIds = $this->get_buglink_ids(); + foreach($aBuglinkIds as $iBug_id) { $oBug = new Bug($iBug_id); $oBug->delete($bSilent);