screenshot: Fully initialize appData object in canEdit()

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-10-31 11:00:42 +01:00
committed by Chris Morgan
parent 4c05f05180
commit 8b52310051

View File

@@ -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();