Alexander Nicolaysen Sørnes : screenshot : Use accessor instead of modifying OM property directly

Chris Morgan cmorgan at winehq.org
Sun Sep 30 09:36:55 CDT 2007


Module: appdb
Branch: master
Commit: 3e2029a3540640a73614f50ed8dc4e82ec409108
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=3e2029a3540640a73614f50ed8dc4e82ec409108

Author: Alexander Nicolaysen Sørnes <alex at 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>]';
         }
 




More information about the wine-cvs mailing list