[AppDb] Fix display of app version screen shot.
tony_lambregts at telusplanet.net
tony_lambregts at telusplanet.net
Thu Nov 11 11:12:55 CST 2004
appview.php was not displaying a screenshot for the app version because it was
passing the appId and versionId not the imageId
Change Log: appimage.php takes needs to be passed imageId not appId and versionId
File Changed: viewapp.php
Index: appview.php
===================================================================
RCS file: /home/wine/appdb/appview.php,v
retrieving revision 1.6
diff -u -r1.6 appview.php
--- appview.php 9 Nov 2004 22:41:18 -0000 1.6
+++ appview.php 11 Nov 2004 16:59:33 -0000
@@ -79,7 +79,7 @@
else
{
$ob = mysql_fetch_object($result);
- $imgFile = "<img src='appimage.php?appId=$appId&versionId=$versionId&width=128&height=128' ".
+ $imgFile = "<img src='appimage.php?imageId=$ob->id&width=128&height=128' ".
"border=0 alt='$ob->description'>";
}
More information about the wine-patches
mailing list