From 05070e6a3a92b375ad5d3a60b4daa0b893f19c10 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Fri, 28 Sep 2007 23:00:42 -0400 Subject: [PATCH] Switch to accessor to set objectManager::sReturnTo. Fixes a fatal error due to bugs class accessing a private member of objectManager. --- include/bugs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bugs.php b/include/bugs.php index a7d712b..7e87f0d 100644 --- a/include/bugs.php +++ b/include/bugs.php @@ -565,7 +565,7 @@ function view_version_bugs($iVersionId = null, $aBuglinkIds) if($bCanEdit == true) { $oM = new objectManager("bug"); - $oM->sReturnTo = $oVersion->objectMakeUrl(); + $oM->setReturnTo($oVersion->objectMakeUrl()); echo "[delete]\n"; if ($oBuglink->bQueued) {