Alexander Nicolaysen Sørnes : screenshot : Use accessor instead of modifying OM property directly
Module: appdb Branch: master Commit: 3e2029a3540640a73614f50ed8dc4e82ec409108 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=3e2029a3540640a73614f50ed... Author: Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com> Date: Sat Sep 29 20:18:16 2007 +0200 screenshot: Use accessor instead of modifying OM property directly --- screenshots.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/screenshots.php b/screenshots.php index ca23e53..ffa33ca 100644 --- a/screenshots.php +++ b/screenshots.php @@ -108,7 +108,7 @@ if($hResult && query_num_rows($hResult)) ) { $oM = new objectManager("screenshot"); - $oM->sReturnTo = "screenshots.php?iAppId=".$oScreenshot->iAppId."&iVersionId=".$oScreenshot->iVersionId; + $oM->setReturnTo("screenshots.php?iAppId=".$oScreenshot->iAppId."&iVersionId=".$oScreenshot->iVersionId); echo '<br />[<a href="'.$oM->makeUrl("delete", $oScreenshot->iScreenshotId, "Delete Screenshot").'">Delete</a>]'; }
participants (1)
-
Chris Morgan