Alexander Nicolaysen Sørnes : screenshot : Fully initialize appData object in canEdit()
Chris Morgan
cmorgan at winehq.org
Wed Oct 31 17:55:28 CDT 2007
Module: appdb
Branch: master
Commit: 8b5231005116e39773afbcb82e8ec59d6b49db62
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=8b5231005116e39773afbcb82e8ec59d6b49db62
Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date: Wed Oct 31 11:00:42 2007 +0100
screenshot: Fully initialize appData object in canEdit()
---
include/screenshot.php | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/include/screenshot.php b/include/screenshot.php
index 81eec26..bf2000a 100644
--- a/include/screenshot.php
+++ b/include/screenshot.php
@@ -606,9 +606,7 @@ class screenshot
{
if($this)
{
- $oAppData = new appData();
- $oAppData->iVersionId = $this->iVersionId;
- $oAppData->iAppId = NULL;
+ $oAppData = new appData($this->objectGetId(), null, $this);
return $oAppData->canEdit();
} else
return appData::canEdit();
More information about the wine-cvs
mailing list