From f27a2d8f7ddc7f5e91072ec9a7443a3b0fc6ee3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Sat, 26 May 2007 01:41:44 +0000 Subject: [PATCH] Fix screenshot description for new screenshots. The creation code was using a non-existant object member variable. --- screenshots.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenshots.php b/screenshots.php index c67b5b6..8a4245b 100644 --- a/screenshots.php +++ b/screenshots.php @@ -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();