appdb/. screenshots.php

WineHQ wineowner at wine.codeweavers.com
Fri May 25 20:41:44 CDT 2007


ChangeSet ID:	31136
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/05/25 20:41:44

Modified files:
	.              : screenshots.php 

Log message:
	Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
	Fix screenshot description for new screenshots. The creation code was using a non-existant
	object member variable.

Patch: http://cvs.winehq.org/patch.py?id=31136

Old revision  New revision  Changes     Path
 1.43          1.44          +1 -1       appdb/screenshots.php

Index: appdb/screenshots.php
diff -u -p appdb/screenshots.php:1.43 appdb/screenshots.php:1.44
--- appdb/screenshots.php:1.43	26 May 2007  1:41:44 -0000
+++ appdb/screenshots.php	26 May 2007  1:41:44 -0000
@@ -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();



More information about the wine-cvs mailing list