screenshot: Use accessor instead of modifying OM property directly
This commit is contained in:
committed by
Chris Morgan
parent
05070e6a3a
commit
3e2029a354
@@ -108,7 +108,7 @@ if($hResult && query_num_rows($hResult))
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
$oM = new objectManager("screenshot");
|
$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>]';
|
echo '<br />[<a href="'.$oM->makeUrl("delete", $oScreenshot->iScreenshotId, "Delete Screenshot").'">Delete</a>]';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user