Fix screenshot description for new screenshots. The creation code was using a non-existant

object member variable.
This commit is contained in:
Alexander Nicolaysen Sørnes
2007-05-26 01:41:44 +00:00
committed by WineHQ
parent d209c56979
commit f27a2d8f7d

View File

@@ -39,7 +39,7 @@ if($aClean['sCmd'])
{
$oScreenshot = new Screenshot();
$oScreenshot->iVersionId = $aClean['iVersionId'];
$oScreenshot->sScreenshotDesc = $aClean['sScreenshotDesc'];
$oScreenshot->sDescription = $aClean['sScreenshotDesc'];
$oScreenshot->hFile = $_FILES['sImageFile'];
$oScreenshot->create();
$oScreenshot->free();